| Wallet::ACL::Nested(3pm) | User Contributed Perl Documentation | Wallet::ACL::Nested(3pm) |
Wallet::ACL::Nested - Wallet ACL verifier to check another ACL
my $verifier = Wallet::ACL::Nested->new;
my $status = $verifier->check ($principal, $acl);
if (not defined $status) {
die "Something failed: ", $verifier->error, "\n";
} elsif ($status) {
print "Access granted\n";
} else {
print "Access denied\n";
}
Wallet::ACL::Nested checks whether the principal is permitted by another named ACL and, if so, returns success. It is used to nest one ACL inside another.
Wallet::ACL(3), wallet-backend(8)
This module is part of the wallet system. The current version is available from <https://www.eyrie.org/~eagle/software/wallet/>.
Jon Robertson <jonrober@stanford.edu>
| 2024-11-12 | perl v5.40.0 |