Developer
User Docs ↗
You are viewing documentation for RT 4.4.2, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.

NAME

  RT::ACL - collection of RT ACE objects

SYNOPSIS

  use RT::ACL;
my $ACL = RT::ACL->new($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.

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.

← Back to index