Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

200 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you