Mercurial > pub > Impl
view Lib/IMPL/Security/Rule/RoleCheck.pm @ 351:cfd7570c2af2
working on TTView: created TTView class for rendering models
author | cin |
---|---|
date | Tue, 08 Oct 2013 17:40:35 +0400 |
parents | 6d8092d8ce1b |
children |
line wrap: on
line source
package IMPL::Security::Rule::RoleCheck; use strict; 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 (); } 1;