RT 4.0.24 Documentation

This version has reached its end of life and is out of support. Please contact us for upgrade assistance.

RT::ACL

Go to latest version →

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.

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.

HasEntry

NewItem

Returns an empty new RT::ACE item

← Back to index