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


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to