cdancy / bitbucket-rest

Java client, built on top of jclouds, for working with Bitbucket's REST API
Apache License 2.0
76 stars 57 forks source link

Support APIs to access the Default Default permissions for Projects #384

Open dodie opened 1 year ago

dodie commented 1 year ago

Feature Request and Expected Behavior

Provide access for the following endpoints:

Sadly these endpoints seem to be not well documented, but they are available to use, and also here's a related ticket with more information: BSERV-12527

Current Behavior and Context

To manage / monitor permission setup of project permissions in a Bitbucket setup. Most user and group related permissions can be accessed via bitbucketClient().api().projectApi().listPermissionsByGroup and bitbucketClient().api().projectApi().listPermissionsByUser, but the Default permissions are not supported by the client.

cdancy commented 1 year ago

@dodie I don't currently have time to knock this out. Would you be up for sending in a PR? I can certainly work with you on the code if need be.

dodie commented 1 year ago

@cdancy Sure, I'll try to find time to do it.