Recovering Personal Space of Deactivated User
Asked by Carl Peterson:

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?


Answers:
author: Christoffer Bromberg _K15t_
body: 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.

comments: author: petre mierlutiu
body: Thanks. This almost worked. For cloud version you probably need to prepend \`/wiki\` or whatever is your path to Confluence.


author: Christoffer Bromberg _K15t_
body: Two years later, I googled my own answer (cause I had forgotten about it) and it still worked like a charm ...


author: Ignacio Pulgar
body: 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.

comments: author: Carl Peterson
body: What is \<KEY\>?


author: Sandy Johnson
body: and what is \<YOURS\>? Are you directing us to that person's personal space or a generic admin page?


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


author: Sandy Johnson
body: 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.


author: Carl Peterson
body: I would say in that case to consult the Server Base URL in your General Configuration.


author: StephanieC
body: 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?


author: AnnWorley
body: 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.


author: StephanieC
body: 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](https://community.atlassian.com/t5/image/serverpage/image-id/5850i1BACF8000BB870D2/image-size/large?v=v2&px=999 "Archivepersonalspace.png")


author: AnnWorley
body: 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](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html#GlobalPermissionsOverview-ComparingtheSystemAdministratorwiththeConfluenceAdministratorPermission)


author: StephanieC
body: Awesome, Thanks ! Ill just create a ticket for my SysAdmin to do it!


Tags: cloud

confluence-cloud