![]() |
![]()
| ![]() |
![]()
NAMEData::ACL - Perl extension for simple ACL lists SYNOPSISuse Data::ACL; use Set::NestedGroups; # See Set::NestedGroups documentation my $groups = Set::NestedGroups->new; $groups->add( 'root', 'wheel' ); $groups->add( 'wheel', 'staff' ); $groups->add( 'webmaster', 'staff' ); my $acl = Data::ACL->new( $groups ); my $web = $acl->Realm( 'web' ); $web->Deny( 'all' ); $web->Allow( 'staff' ); &DenyAccess unless $acl->IsAuthorized( $user, 'web' ); DESCRIPTIONThis module implements a series of allowed and denied access control lists for permissive controls. The Set::NestedGroups module is used to define users and nested permissive groups. METHODSThe following methods are available through this module for use in the creation and manipulation of access control lists. No methods of this module may be exported into the calling namespace.
SEE ALSOSet::NestedGroups VERSION0.02 AUTHORAriel Brosh, schop@cpan.org (Inactive); Rob Casey, robau@cpan.org
|