Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
acl:create
Creates an ACL.
Syntax
<acl:create name="ACL name" > <acl:argument name="argument name" value="argument value" > </acl:create>Parameters
name (required)- Name of the ACL.
Description
Creates an ACL for a specified table. Use
acl:argumentto specify names, descriptions and privileges.Values for
cataccess(the numeric value that determines the level of permissions) are as follows:
- read = 1
- write = 2
- create = 4
- destroy = 8
- retrieve = 10
- rtaudit = 20
- rtadmin = 40
The values for cataccess work similarly to UNIX permissions. For example, if you want a user to have read and write permission, assign
3tocataccess.Error Numbers
The possible values of
errnoinclude:
Example
The following example creates an object in the object pool called called
acl1.<acl:create name="acl1"> <acl:argument name="aclname" value="myacl"/> <acl:argument name="cataccess" value="1"/> <acl:argument name="description" value="test"/> </acl:create>See Also
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.