<div>Hi,</div><div><br></div>Search for GrantRight and also look at "sub *right" in lib/RT/Test.pm.<div><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 10:39 PM, Howard Jones <span dir="ltr"><<a href="mailto:howie@thingy.com">howie@thingy.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm looking to write a small perl script to provision new queues. I tend<br>
to make them all the same way:<br>
<br>
   Create a group for the users who can handle tickets in the queue<br>
   Create the queue, and make that group a watcher on it<br>
   We use the exim-mysql config, so the mail gateway is done by magic<br>
   Add the same set of rights for that group, and a few roles - Everyone<br>
can Create, Requestor and Owner can reply.<br>
<br>
I have got as far as a Queue created, and a Group created. I think I<br>
need to create RT::ACE objects to add the appropriate rights. Is that<br>
correct? I couldn't find any examples of doing this... how are Everyone,<br>
Owner and Requestor done? It seems that the PrincipalID would be id of<br>
the group I've just created, right?<br>
<br>
Thanks in advance for any illumination!<br>
<br>
Howie<br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards, Ruslan.<br>
</div>