logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Wallet::Policy::Stanford - Stanford's wallet naming and ownership policy

Author

       Russ Allbery <eagle@eyrie.org>

perl v5.40.0                                       2024-11-12                      Wallet::Policy::Stanford(3pm)

Description

       Wallet::Policy::Stanford implements Stanford's wallet naming and ownership policy as described in
       docs/stanford-naming in the wallet distribution.  It is primarily intended as an example for other sites,
       but it is used at Stanford to implement that policy.

       This module provides the default_owner() and verify_name() functions that are part of the wallet
       configuration interface (as documented in Wallet::Config).  They can be imported directly into a wallet
       configuration file from this module or wrapped to apply additional rules.

Name

       Wallet::Policy::Stanford - Stanford's wallet naming and ownership policy

See Also

Wallet::Config(3)

       The Stanford policy <https://www.eyrie.org/~eagle/software/wallet/naming.html> implemented by this
       module.

       This module is part of the wallet system.  The current version is available from
       <https://www.eyrie.org/~eagle/software/wallet/>.

Synopsis

           use Wallet::Policy::Stanford;
           my ($type, $name, $user) = @_;

           my $error = valid_name($type, $name, $user);
           my ($name, @acl) = default_owner($type, $name);

See Also