view Lib/IMPL/Security/Rule/RoleCheck.pm @ 176:74c27daf2e7b

minor changes
author sergey
date Wed, 05 Oct 2011 16:23:45 +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 ();
}