Gantry::Plugins::Uaf::Authorize - Gantry::Plugins::Uaf::Authorize documentation


Gantry-Plugins-Uaf documentation Contained in the Gantry-Plugins-Uaf distribution.

Index


Code Index:

DESCRIPTION

Top

Gantry::Plugins::Uaf::Authorize is a pre-built module that uses Gantry::Plugins::Uaf::GrantAllRule to implement an authorization scheme. It is a good idea to overide this module with something better.

SEE ALSO

Top

 Gantry::Plugins::Uaf::GrantAllRule
 Gantry::Plugins::Uaf::AuthorizeFactory

AUTHOR

Top

Kevin L. Esteb

COPYRIGHT AND LICENSE

Top


Gantry-Plugins-Uaf documentation Contained in the Gantry-Plugins-Uaf distribution.

package Gantry::Plugins::Uaf::Authorize;

use strict;
use warnings;

use Gantry::Plugins::Uaf::GrantAllRule;
use base qw(Gantry::Plugins::Uaf::AuthorizeFactory);

sub rules {
    my $self = shift;

    $self->add_rule(Gantry::Plugins::Uaf::GrantAllRule->new());

}

1;

__END__
  
Gantry::Plugins::Uaf::Authorize - A default authorization module.