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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,177 views 20 14
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