Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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.

Thanks. This almost worked. For cloud version you probably need to prepend `/wiki` or whatever is your path to Confluence.

Two years later, I googled my own answer (cause I had forgotten about it) and it still worked like a charm ...

Like # people like this
0 votes
Ignacio Pulgar Community Leader 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.

What is <KEY>?

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

AnnWorley 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! 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

494 views 24 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you