diff --git a/cake/console/libs/acl.php b/cake/console/libs/acl.php index 33021922d..8c75500cf 100644 --- a/cake/console/libs/acl.php +++ b/cake/console/libs/acl.php @@ -306,48 +306,47 @@ class AclScript extends CakeScript { $out .= "-----------------------------------------------\n"; $out .= "Commands:\n"; $out .= "\n"; - $out .= "\tcreate aro|aco \n"; - $out .= "\t\tCreates a new ACL object under the parent specified by , an id/alias (see\n"; - $out .= "\t\t'view'). The link_id allows you to link a user object to Cake's\n"; - $out .= "\t\tACL structures. The alias parameter allows you to address your object\n"; - $out .= "\t\tusing a non-integer ID. Example: \"\$cake acl create aro 57 0 John\"\n"; - $out .= "\t\twould create a new ARO object at the root of the tree, linked to 57\n"; - $out .= "\t\tin your users table, with an internal alias 'John'."; + $out .= "\tcreate aro|aco \n"; + $out .= "\t\tCreates a new ACL object under the parent specified by , an id/alias.\n"; + $out .= "\t\tThe and references can be in one of the following formats:\n"; + $out .= "\t\t\t- . - The node will be bound to a specific record of the given model\n"; + $out .= "\t\t\t- - The node will be given a string alias (or path, in the case of ),\n"; + $out .= "\t\t\t i.e. 'John'. When used with , this takes the form of an alias path,\n"; + $out .= "\t\t\t i.e. //.\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tdelete aro|aco \n"; - $out .= "\t\tDeletes the ACL object with the specified ID (see 'view').\n"; + $out .= "\tdelete aro|aco \n"; + $out .= "\t\tDeletes the ACL object with the given reference (see 'create' for info on node references).\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tsetParent aro|aco \n"; - $out .= "\t\tUsed to set the parent of the ACL object specified by to the ID\n"; - $out .= "\t\tspecified by .\n"; + $out .= "\tsetParent aro|aco \n"; + $out .= "\t\tMoves the ACL object specified by beneath the parent ACL object specified by .\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tgetPath aro|aco \n"; - $out .= "\t\tReturns the path to the ACL object specified by . This command is\n"; + $out .= "\tgetPath aro|aco \n"; + $out .= "\t\tReturns the path to the ACL object specified by . This command is\n"; $out .= "\t\tis useful in determining the inhertiance of permissions for a certain\n"; $out .= "\t\tobject in the tree.\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tgrant \n"; + $out .= "\tgrant []\n"; $out .= "\t\tUse this command to grant ACL permissions. Once executed, the ARO\n"; $out .= "\t\tspecified (and its children, if any) will have ALLOW access to the\n"; $out .= "\t\tspecified ACO action (and the ACO's children, if any).\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tdeny \n"; + $out .= "\tdeny []\n"; $out .= "\t\tUse this command to deny ACL permissions. Once executed, the ARO\n"; $out .= "\t\tspecified (and its children, if any) will have DENY access to the\n"; $out .= "\t\tspecified ACO action (and the ACO's children, if any).\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tinherit \n"; + $out .= "\tinherit []\n"; $out .= "\t\tUse this command to force a child ARO object to inherit its\n"; $out .= "\t\tpermissions settings from its parent.\n"; $out .= "\n"; $out .= "\n"; - $out .= "\tview aro|aco [id]\n"; + $out .= "\tview aro|aco []\n"; $out .= "\t\tThe view command will return the ARO or ACO tree. The optional\n"; $out .= "\t\tid/alias parameter allows you to return only a portion of the requested\n"; $out .= "\t\ttree.\n";