Can't access space admin because space was created by LDAP user account that no longer exists

We have a couple of spaces on our Confluence installation whereby the Space Admin isn't accessible by anybody because they were set up with a single admin user, and that user account is no longer active (LDAP managed).

Even with full confluence admin privileges I can't find a way to make myself admin for those spaces. Help!

2 answers

1 accepted

1 vote
Accepted answer

Just to expand a bit on this point. This space admin sounds like it is locked to a single user. There is no way to alter the spacepermission table from the UI. This is the table that locks control of a space. It is necessary then to recreate the user and unlock the space as that user.

Bruna points to the strategy of creating a clone of that user in the Confluence internal directory and circuventing the space permissions in this manner. You are then free to remove the restrictions from the space.

An alternate strategy would be to manually edit the space permissions table from your favorite database editing tool. You could find all mention of the user that is no loner active and replace it with a user that still exists. This is a bit of a hacky way around things and if you choose this method I would definiately take a backup of your database before giving it a try.

Hi Kenty!

In that case, please make sure that you still have the Confluence Admin > User Directory > Confluence Internal activated.

If the user no longer exists, you can recreate it and then you'll have access to the page/space and then remove its restrictions in which page.

Hope it helps!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,095 views 56 8
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