Is there any way (via gui, sql query, something else?) to obtain a list of all spaces with have the anonymous access permission set?
Log out from Confluence and see the result.
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.SPACEKEYFROM SPACEPERMISSIONS spJOIN SPACES s ON s.SPACEID = sp.SPACEIDJOIN user_mapping um ON um.user_key = sp.PERMUSERNAMEWHERE um.lower_username = 'testuser'GROUP BY s.SPACEKEYORDER 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
It looks like you're new here. Sign in or register to get started.