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

Catalyst::Plugin::Authorization::ACL::Engine - The backend that computes ACL checks for

Description

       This  is  the  engine  which executes the access control checks for Catalyst::Plugin::Authorization::ACL.
       Please use that module directly.

Methods

       new $app
           Create a new rule engine for $app

       add_allow $cond
       add_deny $cond
           fudge $cond, make cond into a rule, and "add_rule"

       add_rule $path, $rule
           Add rule to all actions under $path

       append_rule_to_action $action, $index, $rule, $cxt
           Append $rule to $action in slot $index, and store context info $cxt for error reporting.

       check_action_rules $action
           Evaluate the rules for an action

       fudge_condition $thingy
           Converts a $thingy into a subref, for DWIM goodness. See the main ACL docs.

       get_action_data $action
       get_cxt_for_rule $rule
       get_rules

Name

       Catalyst::Plugin::Authorization::ACL::Engine - The backend that computes ACL checks for
       Catalyst::Plugin::Authorization::ACL.

Synopsis

               # internal

Todo

           * external uris -> private paths

perl v5.34.0                                       2022-06-09             Catalyst::Plugi...on::ACL::Engine(3pm)

See Also