[rt-users] Use REST to set group rights for a user

Dusty Wilson [Megagram] dusty at megagram.com
Mon Jun 22 11:39:02 EDT 2009


On Mon, Jun 22, 2009 at 10:33 AM, Ken Crocker wrote:
>   There are "group" rights to a Custom Field (so you can set rights to
> "see", "Modify", and "Admin" a CF), "Group" rights to Groups (so you can set

Group rights to group.

> rights for which group can "admin" the group, and "See" the members in a
> group). Then there are "Queue" rights or better stated "Rights TO a Queue
> for a Group"

Rights to a queue for a group.

>, and rights to a Queue for a user. I never use the latter as it
> is heavy on the maintenance. Which of these are you speaking of?

Right now, I fake it via LWP doing a good-ole "get" and reusing
RT::Client::REST's cookie.  I'd rather a proper API if that exists
already.

> On 6/20/2009 1:42 PM, Dusty Wilson [Megagram] wrote:
>>
>> I haven't found this anywhere yet.  ("rt" is such a terribly difficult
>> thing to search for online.  I end up with email archives with "rt" in
>> the subject line!)
>>
>> Is there a way to use REST or the command line "rt" tool to set a
>> user's rights within a group (add a user to a group with specific
>> rights)?  Also, is there a way to do the same with a group's rights to
>> a queue (add a group to a queue with specific rights)?
>>
>> I'm using RT::Client::REST to do everything else, but I haven't found
>> a way to do these two things.
>>
>> Thanks!
>> Dusty
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a
>> copy at http://rtbook.bestpractical.com
>>
>>
>



-- 
Dusty Wilson
Megagram Managed Technical Services
Support: 206-508-1336
http://www.megagram.com/


Please avoid sending me Word, PowerPoint, or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



More information about the rt-users mailing list