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

0 votes
Answer 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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

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...

1,035 views 2 13
Read article

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