The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

confluence page level permission I need to check for unrestricted pages

Deleted user
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Fabio Racobaldo _Catworkx_
Community Champion
March 6, 2024

Hi @[deleted] ,

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

Deleted user
March 6, 2024

Thanks Fabio

 

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

Fabio Racobaldo _Catworkx_
Community Champion
March 6, 2024

Hello @[deleted] ,

sure, you can se the following rest api to retrieve users in a group https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group/#api-wiki-rest-api-group-groupid-membersbygroupid-get 

Fabio

 

Deleted user
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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events