ACL.PHP(1)

πŸ“¦ version 2.10.24, in ubuntu jammy

✨ 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, see view) 🌸 The link_id lets you link a user object to Cake's ACL structures, and the alias lets 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 (see view) πŸ—‘οΈπŸ’€
  • 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