Perm Extensions
Brought to you by:
nhruby,
richardarcher
This patch contains extensions to the Perm class.
One only contains Ajay Sharma's change to add a "size"
parameter to perm_sel.
The second and third files change the permissions
system greatly.
Atomic permissions work basically as before. Inclusive
permissions are simply an array of permissions.
Instead of integer values, the permission check only
looks to see if the permission exists for the
authenticated user. This removes the 32 level limit of
the previous permission class.
Groups of permissions ( arrays of permissions ) can
function as User Groups/Roles.
Both files are functionally equivalent.
permxtnd.inc - Extends perm class
permx.inc - Replaces Perm instead.
Logged In: YES
user_id=77269
An example permissions array:
var $permissions = array(
"user" => true,
"author" => true,
"editor" => true,
"supervisor" => true,
"admin" => true
);