Not only on the user basis, but also via the groups the user belongs to. And if possible, which rights he has on the particular spaces.
Is this a query on the database? If so, can someone give me the SQL to be executed?
SQL queries for you:
SELECT spacename, permtype, permgroupname from spacepermissions join spaces on spaces.spaceid = spacepermissions.spaceid where permgroupname = 'GROUP_NAME'
select spacename, permtype, lower_username from spacepermissions join spaces on spaces.spaceid = spacepermissions.spaceid join user_mapping on spacepermissions.permusername = user_mapping.user_key where lower_username = 'jdoe'
And the honker that you're looking for (username is the only value you need to update and it's on the bottom line for your convenience - note that there are two places on that line you need to update it):
SELECT spacename, permtype, permgroupname, lower_username from spacepermissions LEFT JOIN spaces on spaces.spaceid = spacepermissions.spaceid LEFT JOIN user_mapping on spacepermissions.permusername = user_mapping.user_key where (permgroupname IN (select GROUP_NAME from cwd_user u, cwd_group g, cwd_membership m where m.child_user_id = u.id AND m.parent_id = g.id AND lower_user_name = 'jdoe') OR user_mapping.lower_username = 'jdoe')
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs