RT::ACL(3)

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

Limit the ACL to a specific scope
There are two real scopes right now:

Queue is for rights that apply to a single queue
System is for rights that apply to the System (rights that aren't queue related)

  LimitToQueue
Takes a single queueid as its argument.

Limit the ACL to just a given queue when supplied with an integer queue id.

  LimitToSystem()
Limit the ACL to system rights

  LimitRightTo
Takes a single RightName as its only argument. Limits the search to the right $right. $right is a right listed in perldoc RT::ACE

Limit to a specifc set of principals

  LimitPrincipalToUser
Takes a single userid as its only argument. Limit the ACL to a just a specific user.

  LimitPrincipalToGroup
Takes a single group as its only argument. Limit the ACL to just a specific group.

  LimitPrincipalToType($type)
Takes a single argument, $type. Limit the ACL to just a specific principal type

$type is one of:
  TicketOwner
  TicketRequestor
  TicketCc
  TicketAdminCc
  Everyone
  User
  Group

  LimitPrincipalToId
Takes a single argument, the numeric Id of the principal to limit this ACL to. Repeated calls to this function will broaden the scope of the search to include all principals listed.

  HasEntry

POD ERRORS
Hey! The above document had some coding errors, which are explained below:

Around line 88:
    '=item' outside of any '=over'

Around line 93:
    You forgot a '=back' before '=head2'