how to find space permission of a user

Hello,

 

I have a user leaving and I want to find all the confluence space/documents this user has permissions so that I can assign them to other user(s). Is there a way to find this information?

 

S

1 answer

1 accepted

Hello Shailesh!

You can achieve those information by using SQL query in the database. There are 3 tables in the database which you have to take a look at:

  • user_mapping table
    this table contains the username and its user_key. Take a look at the following screenshot:

    image2016-2-24 16:40:20.png

    You can see that admin's user_key is ff80818152f284990152f293884d0002. This user_key value is what we will use to refer admin in the next tables.

  • CONTENT table
    this table contains the information about the Content inside your Confluence, such as page, attachment, etc. This table will shows you which page was created by the user. Try this:

    Screenshot from 2016-02-24 16:48:24.png

    Now you can find out which page is created by that user.

  • SPACES table
    this table contains the information about the Spaces inside your confluence, including its creator. Try this:

    Screenshot from 2016-02-24 16:53:51.png

    Now you can find out which space is created by that user.

I hope my explanation can help you. Feel free to ask questions, and have a good day!

Warm regards,
Ezra A. R. A. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

670 views 21 12
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