Is there a way to view restrictions set by user or group?

I'm looking for a sane way to view restrictions set on pages by users or groups.

For example, say I have a user named BOB.  I want to know all pages where BOB is explicitly set to have restrictions, either for or against.

We're in the process of removing some groups from Crowd that serve no purpose and want to make sure they are not nested somewhere as a restriction.

Thanks!

1 answer

0 votes

Hi Michael,

Not this specifically, but you can view all the restricted pages in your Space Tools page:

http://your-confluence-instance/pages/listpermissionpages.action?key=KEY

This will show all the restrictions for that specific space, and you will need to do this for each space.

Let us know if you have any questions about that.

Kind Regards,
Shannon

@Shannon Spaniol, is there a way to do this via the SQL database?

Hi Michael,

You could use this to list all restrictions for the user:

select p.cp_type, u.username, c.title, s.spacename 
from content_perm p, spaces s, content c, user_mapping u, content_perm_set cp
where u.user_key = p.username and c.contentid = cp.content_id and s.spaceid = c.spaceid and cp.id = p.cps_id and u.username= 'USERNAME' order by c.title asc;

Keep in mind it doesn't include groups - only explicitly restricted to/for that user, as you requested.

Kind Regards,
Shannon

Thanks @Shannon Spaniol!  I'll try this out.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 09, 2018 in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

389 views 0 9
Read article

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