The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Dochazka::REST::Dispatch::ACL - ACL module

VERSION

Version 0.125

DESCRIPTION

This module provides helper code for ACL checks.

EXPORTS

FUNCTIONS

check_acl

Compare priv level of resource ($acl) with the priv level of the employee ($priv). If $priv is at least as high as the $acl, the function returns

    $CELL->status_ok( 'DISPATCH_ACL_CHECK' )

otherwise it returns:

    $CELL->status_not_ok( 'DISPATCH_ACL_CHECK' )