Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dodie opened this issue May 10, 2023 · 2 comments
Open

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

dodie opened this issue May 10, 2023 · 2 comments
Assignees

Comments

@dodie
Copy link
Contributor

dodie commented May 10, 2023

Feature Request and Expected Behavior

Provide access for the following endpoints:

  • /rest/api/1.0/projects/PROJECT/permissions/PROJECT_ADMIN/all
  • /rest/api/1.0/projects/PROJECT/permissions/PROJECT_WRITE/all
  • /rest/api/1.0/projects/PROJECT/permissions/PROJECT_READ/all

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 cdancy self-assigned this May 10, 2023
@cdancy
Copy link
Owner

cdancy commented May 10, 2023

@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
Copy link
Contributor Author

dodie commented May 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants