previo | siguiente |
The permissions system allows packages to define custom privileges. If you read the source code for older packages, you'll find they frequently define many custom privileges ("forums_read" for instance). Our current engineering standards call for the use of standard, system-wide privileges wherever possible. In addition, a privilege can be declared to be a child of another privilege. In this case, a check for the child privilege returns true if either the parent or child privilege has been granted a given party on the given object. While the permissions system does not enforce any particular semantics for a given privilege, the pre-defined permissions by convention should be treated according to the following definitions. |
|
|