Mercurial > pub > Impl
view Lib/IMPL/Security/Rule/RoleCheck.pm @ 220:5c82c15b25b1
sync, updated schema
author | sergey |
---|---|
date | Thu, 23 Aug 2012 17:44:31 +0400 |
parents | 4d0e1962161c |
children | 6d8092d8ce1b |
line wrap: on
line source
package IMPL::Security::Rule::RoleCheck; require IMPL::Security::Role; sub SatisfyAll { my ($secPackage,$object,$desiredAccess,$context) = @_; my $roleEffective = new IMPL::Security::Role ( _effective => $context->rolesAssigned ); return $roleEffective->Satisfy(ExtractRoles($object)); } sub _ExtractRoles { return (); }