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

This widget could not be displayed.

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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

601 views 8 6
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