Mercurial > pub > Impl
view Lib/IMPL/Security/Rule/RoleCheck.pm @ 133:a07a66fd8d5c
Added IMPL::Class::MethodInfo
IMPL::Class::Property::Base optimizations
author | wizard |
---|---|
date | Fri, 18 Jun 2010 16:27:28 +0400 |
parents | 79bf75223afe |
children | 4d0e1962161c |
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 (); }