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

Ability to retrieve project default permissions #126

Open
adrianbn opened this issue Mar 13, 2019 · 1 comment
Open

Ability to retrieve project default permissions #126

adrianbn opened this issue Mar 13, 2019 · 1 comment

Comments

@adrianbn
Copy link

I can't see a way to determine what's the "default permissions" settings in a project.
Screen Shot 2019-03-13 at 4 50 28 PM

I can see if the project is public (upper left), the user access (mid), and group access (bottom), but not the default permissions (upper right). Is that functionality implemented? Am I missing anything?

Thanks!

@adrianbn
Copy link
Author

adrianbn commented Mar 14, 2019

A quick look at the API makes me think this is achieve with a call of the form http://localhost:7990/bitbucket/rest/api/1.0/projects/{project-key}/permissions/{permission}/all. E.g:

> curl -u admin:admin http://localhost:7990/bitbucket/rest/api/1.0/projects/pub/permissions/PROJECT_READ/all
{"permitted":true}

Based on this I don't think this is part of stashy at the moment, right?

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

No branches or pull requests

1 participant