I work for an organization that underwent several Confluence migrations in the past. Because of this several similar user groups exist and it is time to consolidate them.
We have a script to identify in which spaces groups have space permissions.
But identifying if a group has been used in a page restriction seems difficult (or impossible?)
Is there a way to know on which pages a certain group is in the page restrictions?
We thought of looping over all pages but the user making the API call will not see pages it cannot access so this will never work.
Other ideas are welcome! Preferably without plugins. API endpoints are more than welcome.
This is for Confluence standard and premium since we have multiple sites.