< Wallet::Object::WAKeyring API | Russ Allbery > Software > wallet | Wallet::Report API > |
(Stanford's wallet naming and ownership policy)
use Wallet::Policy::Stanford; my ($type, $name, $user) = @_; my $error = valid_name($type, $name, $user); my ($name, @acl) = default_owner($type, $name);
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.
Wallet::Config(3)
The Stanford policy 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/>.
Russ Allbery <eagle@eyrie.org>
< Wallet::Object::WAKeyring API | Russ Allbery > Software > wallet | Wallet::Report API > |