Use REST to set group rights for a user

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

Dusty,

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 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”, 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?

Kenn
LBNLOn 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


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

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


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@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

Please avoid sending me Word, PowerPoint, or Excel attachments.
See We Can Put an End to Word Attachments - GNU Project - Free Software Foundation