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?
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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