I'm building integration for Bitbucket Server into an application and I need to retrieve all the projects a user has access to, along with what level of access they have. The caller in this case is the authenticated user.
This endpoint will let me find out what permission the user has at the user level with the caveat that they have the PROJECT_ADMIN permissions
This isn't quite what I need, as I need the calling user to be able to know what permissions they have on the project. For example I've logged in as a user with PROJECT_READ I won't be able to call the above endpoint as I'll get a 401; Do I then use that as an indication that they only have read access?
This seems a bit hacky. Is there an alternative method I can use?
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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