.TH ACL.PHP 1 "March 19, 2007" .SH NAME acl.php \- manages Access Control Lists (ACLs) for CakePHP applications .SH SYNOPSIS .B acl.php .RI " ..." .SH DESCRIPTION The \fBacl.php\fP script manages Access Control Lists (ACLs) for CakePHP applications. .SH OPTIONS .TP .B create aro|aco Creates a new ACL object under the parent specified by , an id/alias (see 'view'). The link_id allows you to link a user object to Cake's ACL structures. The alias parameter allows you to address your object using a non-integer ID. .sp 1 Example: "acl.php create aro 57 0 John" would create a new ARO object at the root of the tree, linked to 57 in your users table, with an internal alias `John'. .TP .B delete aro|aco Deletes the ACL object with the specified ID (see `view'). .TP .B setParent aro|aco Used to set the parent of the ACL object specified by to the ID specified by . .TP .B getPath aro|aco Returns the path to the ACL object specified by . This command is is useful in determining the inhertiance of permissions for a certain object in the tree. .TP .B grant Use this command to grant ACL permissions. Once executed, the ARO specified (and its children, if any) will have ALLOW access to the specified ACO action (and the ACO's children, if any). .TP .B deny Use this command to deny ACL permissions. Once executed, the ARO specified (and its children, if any) will have DENY access to the specified ACO action (and the ACO's children, if any). .TP .B inherit Use this command to force a child ARO object to inherit its permissions settings from its parent. .TP .B view aro|aco [id] The view command will return the ARO or ACO tree. The optional id/alias parameter allows you to return only a portion of the requested tree. .TP .B initdb Use this command to create the database tables needed to use DB ACL. .TP .B \-app Absolute path to Cake's app directory .TP .B \-core Absolute path to Cake's cake directory .TP .B \-root Absolute path to Cake's /app/webroot directory .TP .B \-datasource CakePHP datasource name .TP .B help Displays help message. .SH SEE ALSO .BR bake.php (1). .SH AUTHOR \fBacl.php\fP was written by Larry E. Masters . .PP This manual page was written by Chris Lamb , for the Debian project (but may be used by others).