List the content affected when deleting a group Edited

"Deleting a group will remove all permission restrictions associated with it. Content that is only restricted to this group will become available to all confluence users."

Thanks for the warning, but what can I do now? Is there any way to list all content confluence wide where restrictions apply for the group so I can take action and replace the group where possible

@Atlassian, would be very helpful to have that list when trying to delete a group, so one does not have to guess the effects...

1 answer

0 votes
Ann Worley Atlassian Team Jun 22, 2017

Thanks for the feedback, I created a suggestion ticket for the development team based on it: Include a page restriction and permissions report with the Delete Group warning. Please comment and vote on it to emphasize your use case.

In the meantime, if you have access to the database, you can find the space permissions for the group you are deleting by running the queries in this article: How to list which spaces a group can access

For page restrictions, here are some queries I came up with on my PostgreSQL database, to get the restrictions and the page titles:

select cp_type, groupname, cps_id from content_perm where groupname = '<group_name>';
select id, cont_perm_type, content_id from content_perm_set where id = <cps_id_number_from_previous_query>;
select title from content where contentid = <content_id number from last query>;

I look forward to any follow up questions.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,164 views 2 13
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