Wallet::Policy::Stanford

(Stanford's wallet naming and ownership policy)

SYNOPSIS

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

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

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.

SEE ALSO

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/>.

AUTHOR

Russ Allbery <eagle@eyrie.org>

Last spun 2024-05-01 from POD modified 2024-04-30