ACL.PHP(1)
β¨ NAME β¨ (acl.php, the ACL manager bestie π)
Okay so acl.php is the script that manages Access Control Lists (ACLs) for CakePHP applications π It's giving "organized permissions" and I'm obsessed π«Ά
π SYNOPSIS π
acl.php <command> <arg1> <arg2> ...
π DESCRIPTION π
Okay bestie, so the acl.php script is literally the one that handles all your ACL stuff for CakePHP apps β¨ It's the main character of permissions π
π¦ OPTIONS π¦
create aro|aco <link_id> <parent_id> <alias>β Okay this one makes a brand new ACL object under whichever parent you pick with<parent_id>(an id/alias, seeview) πΈ Thelink_idlets you link a user object to Cake's ACL structures, and thealiaslets you address your object with a non-integer ID π§
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'. π
delete aro|aco <id>β Deletes the ACL object with the specified ID (seeview) ποΈπsetParent aro|aco <id> <parent_id>β Used to set the parent of the ACL object specified by<id>to the ID specified by<parent_id>πgetPath aro|aco <id>β Returns the path to the ACL object specified by<id>π€οΈ This command is is useful in determining the inhertiance of permissions for a certain object in the tree π It's so helpful, ngl π«Άgrant <aro_id> <aco_id> <aco_action>β Use this to grant ACL permissions π Once you run it, the ARO you specify (and its children, if any) will have ALLOW access to the specified ACO action (and the ACO's children, if any) βdeny <aro_id> <aco_id> <aco_action>β Use this to deny ACL permissions π ββοΈ Once you run it, the ARO you specify (and its children, if any) will have DENY access to the specified ACO action (and the ACO's children, if any) π«inherit <aro_id> <aco_id> <aco_action>β Use this to force a child ARO object to inherit its permissions settings from its parent π¦view aro|aco [id]β The view command returns the ARO or ACO tree π³ The optional id/alias parameter lets you return only a portion of the requested tree, which is so iconic πinitdbβ Use this to create the database tables needed to use DB ACL π§π-appβ Absolute path to Cake's app directory π-coreβ Absolute path to Cake's cake directory π-rootβ Absolute path to Cake's /app/webroot directory π-datasourceβ CakePHP datasource name πhelpβ Displays help message πβ¨
πΈ SEE ALSO πΈ
bake.php(1). Go check it out, bestie π«Ά
π AUTHOR π
acl.php was written by Larry E. Masters <phpnut@gmail.com>. π
This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others). π
Bestie, this page was last updated March 19, 2007, from the manpage source for acl.php(1) π¦ Stay iconic, slay forever! π β¨π
π¦ where this page comes from
- ubuntu jammy: cakephp-scripts 2.10.24-1 Β· MIT
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms