<div dir="ltr"><div><div>I have something you can probably use, if you promise not to laugh... ;) It's really not ready for human consumption, just something I banged out a while back to basically do what you're asking. Though it doesn't enumerate all the way down to the user level, just to the group level. I haven't ever assigned any rights at the user level so this isn't an issue for me.<br>
<br></div>Just run it all by itself and (depending on your rt size) you'll get a giant, fixed width matrix of all the queues with group names and right names.<br><br></div>You can search for specifics with the commandline options (--groups --queues --rights) but they have have to be exact, case sensitive matches.<br>
<br><div><div><div></div><div>It might be more presentable if you did a fixed width import into a spreadsheet. Otherwise I wouldn't view it without piping the results to 'less -niS' because line wrap makes it pretty useless.<br>
</div><div><br></div><div>I *think* it will probably work with 3.8.8. I didn't get cute or anything, it's just using the standard api methods.<br><br></div><div>I at least stripped out most of the cruft and checked it in at <a href="https://github.com/AHinMaine/bin/blob/master/rt_rights.pl">https://github.com/AHinMaine/bin/blob/master/rt_rights.pl</a><br>
<br><br><br></div><div>Here's at least one example:<br><br><span style="font-family:courier new,monospace">$ sudo /perl/bin/perl <a href="http://rt_rights.pl">rt_rights.pl</a> --queues 'Tech Support' Outages 'NOC - General' --groups NetOps NOC Users --rights CreateTicket DeleteTicket<br>
Queue Group CreateTicket DeleteTicket<br>------------- ------ ------------ ------------<br>NOC - General NetOps<br>NOC - General NOC 1<br>NOC - General Users<br>Outages NetOps<br>Outages NOC 1<br>
Outages Users<br>Tech Support NetOps<br>Tech Support NOC 1<br>Tech Support Users<br></span><br></div><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div>-- <br>Andy Harrison<br>
public key: 0x67518262</div>
<br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 11:36 AM, John Miller <span dir="ltr"><<a href="mailto:johnmill@brandeis.edu" target="_blank">johnmill@brandeis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<br>
<br>
We're running RT 3.8.8 (yes, I know it's old....). We're managing our group and queue privileges via RT itself, rather than LDAP. How can we generate a report that shows us per queue which users have rights?<br>
<br>
I dug through the database schema for about an hour; decided it was better to ask than to keep digging.<span class="HOEnZb"><font color="#888888"><br>
<br>
John<br>
-- <br>
John Miller<br>
Systems Engineer<br>
Brandeis University<br>
<a href="mailto:johnmill@brandeis.edu" target="_blank">johnmill@brandeis.edu</a><br>
<a href="tel:%28781%29%20736-4619" value="+17817364619" target="_blank">(781) 736-4619</a><br>
</font></span></blockquote></div><br></div>