Wallet...:Nested(3pm)
β¨ Wallet::ACL::Nested β¨
okay bestie, so this is the manual page for Wallet::ACL::Nested β a Perl module doc from the User Contributed Perl Documentation collection, Wallet...:Nested(3pm) if you're being formal about it π
It's the Wallet ACL verifier to check another ACL. Yes, ACLs checking ACLs. It's giving inception. π
π SYNOPSIS π
like, here's the vibe in code form:
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";
}
look at that flow. immaculate. no notes. β¨
π DESCRIPTION π
Wallet::ACL::Nested checks whether the principal is permitted by another named ACL and, if so, returns success. That's it, that's the whole job. It's literally the module you use to nest one ACL inside another β ACL-ception, if you will. π«Ά
πΈ METHODS πΈ
new()
Creates a new ACL verifier. Fresh verifier, fresh start, main character energy π
check(PRINCIPAL, ACL)
Returns true if PRINCIPAL is granted access according to the nested ACL, specified by name. Returns false if it is not, and undef on error.
so like: yes / no / uh-oh π
error([ERROR ...])
Returns the error of the last failing operation, or undef if no operations have failed.
π¨ real talk: callers should call this function to get the error message after an undef return from any other instance method. Don't skip it, bestie.
ngl, the returned errors will generally come from the nested child ACL β so the drama is inherited, not original to this module π
π¦ SEE ALSO π¦
This module is part of the wallet system. The current version is available from <https://www.eyrie.org/~eagle/software/wallet/>. π§
π AUTHOR π
Jon Robertson <jonrober@stanford.edu>
and that's the whole page, periodt. π
this icon was documented under perl v5.40.0, dated 2024-11-12 β so if you're reading this later, check the version, iykyk. πβπ
π¦ where this page comes from
- debian trixie: krb5-wallet-server 1.7 Β· MIT
- ubuntu resolute: krb5-wallet-server 1.7 Β· MIT
- ubuntu stonking: krb5-wallet-server 1.7 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms