[rt-users] Perl API Help for group rights and queue rights

Stephen Turner sturner at MIT.EDU
Fri Mar 9 09:54:12 EST 2007


At Friday 3/9/2007 08:37 AM, Krieg, Alexander wrote:
>Hi everybody,
>
>sorry i think in my last email i didn't see clearly the through the 
>right management.
>What i mean is, how to give inside the Queue 'testqueue' the Group 
>'testgroup' a queueright e.g.  'SeeQueue' or 'showTicket'
>
>

Alexander,

Try this:

$grantee->GrantRight(Object => $object, Right => $right);

where $grantee is the principal for the group (e.g. testgroup) , 
$object is the queue (testqueue) and $right is the string describing 
the right (e.g. 'SeeQueue').

The GrantRight method is in the Principal class.

Steve





More information about the rt-users mailing list