Mercurial > pub > Impl
view Lib/IMPL/Security/Rule/RoleCheck.pm @ 212:292226770180
bugfixes
author | sergey |
---|---|
date | Fri, 29 Jun 2012 19:24:15 +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 (); }