Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,550
Community Members
 
Community Events
168
Community Groups

How to retrieve user permissions in specific project via API?

I need to determine whether the logged user has enough rights to create a new plan in specefic project before he tries.

I understand how to get explicit user and group permissions, but I need a resume for a particular logged user. Can I (current) create or not.

1 answer

0 votes
Bill Carreon Atlassian Team May 01, 2018

Hi Pavel,

The following API calls should return the information you’re requesting. Please let me know if you have any other questions or concerns.

 

Global permissions for a user:

curl -u admin:admin http://bamboo:8085/rest/api/latest/permissions/global/users?name={name}

Global permissions for a group:

curl -u admin:admin http://bamboo:8085/rest/api/latest/permissions/global/groups?name={name}

Project level permissions

curl -u admin:admin http://bamboo:8085/rest/api/latest/permissions/project/{key}/users?name={name}

 

Regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events