Find all spaces with anonymous access set

timothyfinch March 8, 2017

Is there any way (via gui, sql query, something else?) to obtain a list of all spaces with have the anonymous access permission set?

2 answers

0 votes
Per Löfgren (Qlik) March 12, 2017

What you could do is create a local user called "testuser". Make sure this user is not part that does not have permission to any space. Then run this SQL query.

SELECT s.SPACEKEY
FROM SPACEPERMISSIONS sp
JOIN SPACES s ON s.SPACEID = sp.SPACEID
JOIN user_mapping um ON um.user_key = sp.PERMUSERNAME
WHERE um.lower_username = 'testuser'
GROUP BY s.SPACEKEY
ORDER BY s.SPACEKEY;

 

I am sure there is a better way but.
SQL query is copied and modified from this page.
https://confluence.atlassian.com/confkb/how-to-list-which-spaces-a-user-can-access-321258272.html  

0 votes
Vasiliy Zverev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 9, 2017

Log out from Confluence and see the result.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events