ACL-Regex
view release on metacpan or search on metacpan
--- #YAML:1.0
name: ACL-Regex
version: 0.0002
abstract: Class to generate access controls using PCRE
author:
- Peter Blair (pblair@cpan.org)
license: unknown
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires: {}
no_index:
directory:
lib/ACL/Regex.pm view on Meta::CPAN
=head3 REQUIRED FILE
The required file is supplied to the object during instantiation and will seed
the object with a list of I<required> keys in the hash. This way, if a key regex
isn't present in the B<ACL REGEX FILE> then the object will fill the hash with
a regex that I<matches all> possibilities. This is designed to satisfy the regex
string should a key be absent from the action line.
# This file contains a list of actions, and required attributes
send-mail=account,ip,group,dow,time
rwi_login=account,ip,auth_method,dow,time
create_user=account,ip
=head3 ACTION FILE
A line of B<key>=[B<val>] pairs to be consumed by the ACL object. These get
massaged so that any action key that doesn't satisfy the B<REQUIRED> fields are
added and the entire string is sorted by key name.
=head1 AUTHOR
t/required.txt view on Meta::CPAN
# This file contains a list of actions, and required attributes
send-mail=account,ip,group,dow,time
rwi_login=account,ip,auth_method,dow,time
create_user=account,ip
( run in 2.963 seconds using v1.01-cache-2.11-cpan-5c0b1e786e0 )