NAME

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

VERSION

Version 0.135

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' )