Cannot access space settings because all permissions to view space were accidentally removed

While going through defining permissions for spaces, right after deselecting all check boxes for both the administrators group and the developers group, I typed in a group to add to the permissions list and hit the enter key. However, the page registered hitting enter as Save Changes. Therefore, that space does not have any permissions associated with it so there is no way to get in to the manage permissions page and fix the mistake. Is there a way to set the space back to default mode to allow permission for administrators and developers group? I am an administrator for the confluence account. If I can have access to that space's manage permissions page, then I can make the changes that I had originally intended for that space.

1 answer

1 accepted

One way would be to modify the database directly. You can set permissions in the SPACEPERMISSIONS table.

Find your space ID using

SELECT * from SPACES

Find the perm id by running

SELECT * FROM SPACEPERMISSIONS WHERE SPACEID="your_space_id"

Then run

UPDATE SPACEPERMISSIONS SET PERMUSERNAME="your_user_name" WHERE SPACEID="your_space_id" AND PERMID="your_perm_id"

Actually you can even skip finding the PERMID and just run

UPDATE SPACEPERMISSIONS SET PERMUSERNAME="your_user_name" WHERE SPACEID="your_space_id"

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

301 views 11 10
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you