view Lib/IMPL/Security/Rule/RoleCheck.pm @ 93:0667064553ef

fixed _is_class in activator rewritten IMPL::Config::Resolve new features in the Abstract class
author wizard
date Wed, 28 Apr 2010 17:50:55 +0400
parents a1498298d3ee
children 79bf75223afe
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->AssignedRoles );
	
	return $roleEffective->Satisfy(ExtractRoles($object));
}

sub _ExtractRoles {
	return ();
}