[rt-users] RT::ACE example? (I think!)

Ruslan Zakirov ruz at bestpractical.com
Fri Feb 25 13:48:29 EST 2011


Hi,

Search for GrantRight and also look at "sub *right" in lib/RT/Test.pm.

On Thu, Feb 24, 2011 at 10:39 PM, Howard Jones <howie at thingy.com> wrote:

> I'm looking to write a small perl script to provision new queues. I tend
> to make them all the same way:
>
>   Create a group for the users who can handle tickets in the queue
>   Create the queue, and make that group a watcher on it
>   We use the exim-mysql config, so the mail gateway is done by magic
>   Add the same set of rights for that group, and a few roles - Everyone
> can Create, Requestor and Owner can reply.
>
> I have got as far as a Queue created, and a Group created. I think I
> need to create RT::ACE objects to add the appropriate rights. Is that
> correct? I couldn't find any examples of doing this... how are Everyone,
> Owner and Requestor done? It seems that the PrincipalID would be id of
> the group I've just created, right?
>
> Thanks in advance for any illumination!
>
> Howie
>



-- 
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110225/486f154c/attachment.htm>


More information about the rt-users mailing list