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: 

Consistent API to read permissions?

Sebastian
May 24, 2024

Hi, I'm trying to get a list of all spaces with any and all attached permissions, however:

1) The confluence API returns user-ids and doesn't have a user-endpoint that resolves these IDs to actual names. Apparently the workarounds are to either use the jira or admin APIs, depending on the ID-format.

2) The output from the permissions endpoint is either incomplete or wrong (I haven't checked which one it is): Looking into the space permissions for users, I can see 2 "real" users and 5 accounts for plugins. Via the API, "type: user" only appears twice, for the same user-id, where I'd expect to see two different users with the administer privilege. "administer" does show up twice, once for the aforementioned user, and once for a group (that part is correct, there's one group in that space that has administer privileges).

So in summary: The permissions-output appears to be incomplete, are there any workarounds to this?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jessica
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2024

Hi @Sebastian 

Welcome to the Atlassian Community!

As we may need some additional information and to not expose any information from your site here, we have created this support ticket to get in touch with you with the next steps: https://getsupport.atlassian.com/servicedesk/customer/portal/23/JST-1004334

Regards,
Jessica

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events