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.errno
The possible values of
errnoinclude:
 Value Description -10001 The implementing class is invalid. -10002 There is a missing method for the implementing class. -10003 The method could not be invoked successfully. -10010 Invalid attribute value.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 > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.