Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to retrieve user permissions in specific project via API?

smolkin April 26, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 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
AUG Leaders

Atlassian Community Events