freebsd-ports/security/p5-Tree-Authz/pkg-descr
Doug Barton 2fadfa2cfb For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
2009-12-21 02:19:12 +00:00

16 lines
693 B
Text

Class for inheritable, role-based permissions system (Role Based Access
Control - RBAC).
Custom methods can be placed on role objects. Authorization can be
performed either by checking whether the role name matches the required
name, or by testing (via can) whether the role can perform the method
required.
Two role are specified by default. At the top, superusers can do anything
($superuser->can( $action ) always returns a coderef). At the bottom, the
base role can do nothing ($base->can( $action ) always returns undef).
All roles are automatically capable of authorizing actions named for the
singular and plural of the role name.
WWW: http://search.cpan.org/dist/Tree-Authz