confluence page level permission I need to check for unrestricted pages

Sachin Somannavar
Contributor
March 5, 2024

url = f'https://api.atlassian.com/ex/confluence/cloudid/rest/api/content/{page_id}/restriction?expand=restrictions.user,restrictions.group'

 

by using this url I am able to see the viewer and editor for the restricted pages , but if we did not put any restriction on the page then there will be two option anyone in the space can view and edit and anyone in this space can view and only some can edit , how to get granular level permission for this unrestricted pages , like which user and which group and also who all in the group can view and edit , how get  this data from rest api

 

1 answer

1 vote
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2024

Hi @Sachin Somannavar ,

for unrestricted pages, access policy is related to space permission settings. In that way, please use the following rest api https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space/#api-wiki-rest-api-space-spacekey-get that contains also space permissions.

Hope this helps,

Fabio

Sachin Somannavar
Contributor
March 6, 2024

Thanks Fabio

 

Can we also extract the users present in the group from the rest api?

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2024
Sachin Somannavar
Contributor
March 6, 2024

when we invite the people to confluence cloud , they are directly adding into user group , we are not seeing them in the user tab of space permission and they are in some usergroup , what I want is if the page is unrestricted these people which are inside this group , I want to who all the users inside the group and what all the permission they have

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events