Ok…so I blew away an account using the shredded, had the user log back in to RT with his LDAP credentials, and he can still see queues which he shouldn’t be able to see. What to do?From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Izz Abdullah
Sent: Friday, October 07, 2011 9:08 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] skip the queue selection for unprivileged users
Ok, so I think I found the problem. Before I was here, they imported all of the users from LDAP into the mysql database. I have created a new user in AD, and logged into RT and everything works as expected: can only create a ticket in the General Queue, and cannot pull up tickets other than its own. So, I am about to blow away an account in RT (remember this is test until everything is worked out, then we will migrate the database over from RT3.8.4 to RT4.0.2 which sits on a different vm) and see what the repercussions are. Removing the permissions from the unprivileged account, by going to that account manually, did not correct the security issue, so deletion is the only option I see.
So I have shredded the account…I can still see some history (when looking at tickets I know the account was associated with), now I will recreate the account. Can someone give me long-term repercussions of this?
Thanks,
Izz
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Izz Abdullah
Sent: Friday, October 07, 2011 8:39 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] skip the queue selection for unprivileged users
I still have not found the problem…any other suggestions? I found this below when running through sql.
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Izz Abdullah
Sent: Thursday, October 06, 2011 11:41 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] skip the queue selection for unprivileged users
I had already removed from the web ui all of the privileges I could find at the group and queue level. Upon inspection in mySQL I find these oddities which have ‘SeeQueue’ rights:
Groups Table:
5 | | Pseudogroup for internal use | SystemInternal | Unprivileged | 0 | 0 | NULL | 0 | NULL
4 | | Pseudogroup for internal use | SystemInternal | Privileged | 0 | 0 | NULL | 0 | NULL
52233 | User 52232 | ACL equiv. for user 52232 | ACLEquivalence | UserEquiv | 52232 | 0 | NULL | 0 | NULL
25 | User 24 | ACL equiv. for user 24 | ACLEquivalence | UserEquiv | 24 | 0 | NULL | 0 | NULL
Can anyone explain this? Or was there some odd inventions in the database before I came in and started the migration? 
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kenneth Crocker
Sent: Thursday, October 06, 2011 10:38 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] skip the queue selection for unprivileged users
Izz,
check out what rights you have granted at the Queue level. Go to each Queue and see what you did. Any of them could have granted “SeeQueue” and “CreateTicket” granted to Everyone or unprivileged.
Kenn
LBNL
Interesting…I have 26 rows, all principal types of group. Of that, there are 9 unique principal ids. If I add the 3 system groups and our 6 user groups, we have 9. Thanks for the sql…I’ll look around and see why these have that right, where it came from, and I’ll post back.
From: ruslan.zakirov@gmail.commailto:ruslan.zakirov@gmail.com [mailto:ruslan.zakirov@gmail.commailto:ruslan.zakirov@gmail.com] On Behalf Of Ruslan Zakirov
Sent: Thursday, October 06, 2011 9:49 AM
To: Izz Abdullah
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] skip the queue selection for unprivileged users
Hi,
Unprivileged users still can be in some groups. Use SELECT * FROM ACL
WHERE RightName = ‘SeeQueue’; This may give you a clue.