Recovering Personal Space of Deactivated User

If a deactivated user has a restricted personal space, can an admin recover the information in the personal space, in case there is any information in that space of critical importance to the company?

2 answers

0 vote
Ignacio Pulgar Community Champion Jun 20, 2016

Yes, you can, if you have sufficient permissions. Just go to:

https://<YOURS>.atlassian.net/wiki/pages/listpermissionpages.action?key=<KEY>

There you will find the Restricted Pages tab. Once there, click on the Lock icon to Remove Restrictions from the desired page.

Hope it helps.

and what is <YOURS>? Are you directing us to that person's personal space or a generic admin page?

<YOURS> is the site identifier, like https://companyname.atlassian.net, that was set up at the beginning.

This would only be for cloud installations, correct? What about locally hosted instances? I got a page unavailable when I tried my company's name.

 

I would say in that case to consult the Server Base URL in your General Configuration.

I get "page not found" when adding our server base URL to any combination of the URL listed above. Is there another way to get to 'listpermissionpages' or might it be named something else? 

To access the space permissions for the personal space, please try:

 <Base_URL>/spaces/spacepermissions.action?key=~username

An example is:

http://localhost:8090/spaces/spacepermissions.action?key=~charlie

There is a tab on that page to see restricted pages as well as space permissions.

I got there by going to the personal space and choosing Space Tools>Permissions but if the space is restricted you won't be able to hit the landing page to get to Space Tools.

If the restricted space is not a personal space and you need to access the permissions you can go to Confluence Admin>Space Permissions and click Manage Permissions next to the space in the list of spaces.

This is what I get with that URL.. Is it possible to make Personal Spaces accessible to the Confluence Admin by default? I looked for a setting an did not see one. 

Archivepersonalspace.png

Ann Worley Atlassian Team Sep 08, 2017

If you are a member of the confluence-administrators group the personal spaces are accessible by default but if you have the Confluence Administrator global permission it does not include that access. There is a good explanation here:

Comparing the confluence-administrators group with the administrator permissions

Awesome, Thanks ! Ill just create a ticket for my SysAdmin to do it! 

When cleaning up I encountered that even with Sys admin privileges I wasn't able to recover permissions from the Space Permissions screen.

Thus I came up with this litte JS-hack to trigger "Recover" for those personal spaces anyways:

function recover(spaceKey) {
$.post('/admin/permissions/grantspacepermissions.action', {'atl_token': $('meta[name=ajs-atl-token]').attr('content'), 'spaceKey': spaceKey}, function(data) {console.log(data)} )
}

Just open the JS console when logged in and call the recover function with the spaceKey, e.g.  recover('~yours') - now you can do to that space what needs to be done.

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

253 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