Changeset 398 for trunk/bin


Ignore:
Timestamp:
Apr 2, 2012 5:42:09 AM (12 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/acl.cli.php

    r396 r398  
    230230This script must be run in the common site directory (i.e. the parent
    231231directory of the document root). DB credentials are retrieved from:
    232 global/db_auth.inc.php so this file must exist. Further more this script
     232global/db_auth.inc.php so this file must exist. Furthermore this script
    233233must be executed as the owner of the db_auth.inc.php file.
    234234
     
    236236Request Objects, ACO - Access Control Objects, and AXO - Access Xtra
    237237Objects. These are most often used as a USER -> ACTION -> OBJECT model,
    238 but can just as easily be SPICES -> CUISINES -> DISHES A privilege is
     238but could just as easily be SPICES -> CUISINES -> DISHES. A privilege is
    239239allowed if a user (ARO) can perform an action (ACO) on something (AXO).
    240 For example, Bob can edit article 4. If the AXO if omitted, this becomes
    241 "Bob can edit" (period).
    242 
    243 Each access object is stored as a node in hierarchical tree structures. A
    244 permission granted to a node is applied to all its children. If a child
    245 node is specified a different permission that is more specific that
     240For example, with an `ARO->ACO->AXO` of `Bob->edit->4`, Bob can edit article 4.
     241If the AXO were omitted (i.e. just `Bob->edit`), this becomes "Bob can edit"
     242(he can edit any object).
     243
     244Each access object is stored as a node in hierarchical tree structures.
     245A permission granted to a node is applied to all its children. If a child
     246node is specified a different permission that is more specific than
    246247anything on the branch it will take precedence. If no permission is
    247248specified, root is used for that object. Root, in this case, means
Note: See TracChangeset for help on using the changeset viewer.