stashy
stashy copied to clipboard
Ability to retrieve project default permissions
I can't see a way to determine what's the "default permissions" settings in a project.
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!
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?