RT 3.8.17 Documentation
RT::ACL Overlay
NAME
RT::ACL - collection of RT ACE objects
SYNOPSIS
use RT::ACL;
my $ACL = new RT::ACL($CurrentUser);
DESCRIPTION
METHODS
Next
Hand out the next ACE that was found
LimitToObject $object
Limit the ACL to rights for the object $object. It needs to be an RT::Record class.
LimitNotObject $object
Limit the ACL to rights NOT on the object $object. $object needs to be an RT::Record class.
LimitToPrincipal { Type => undef, Id => undef, IncludeGroupMembership => undef }
Limit the ACL to the principal with PrincipalId Id and PrincipalType Type
Id is not optional. Type is.
if IncludeGroupMembership => 1 is specified, ACEs which apply to the principal due to group membership will be included in the resultset.
ExcludeDelegatedRights
Don't list rights which have been delegated.
DelegatedBy { Id => undef }
Limit the ACL to rights delegated by the principal whose Principal Id is Id
Id is not optional.
DelegatedFrom { Id => undef }
Limit the ACL to rights delegate from the ACE which has the Id specified by the Id parameter.
Id is not optional.