view Lib/IMPL/Security/Rule/RoleCheck.pm @ 144:b56ebc31bf18

Empty nodes no more created while transforming a post request to the DOM document minor speed improvements to the object CTOR caching Added support for a secure processing (and 'laundering' ) a CGI parameters Many minor fixes
author wizard
date Tue, 13 Jul 2010 02:05:38 +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 ();
}