Hi,
I have experienced the following issue on Bitbucket v4.14.5:
When creating a project the default permission is set to Read on the UI. However the API:
/rest/api/1.0/projects/<PROJECT>/permissions/PROJECT_READ/all
appears to give back:
{"permitted":false}Until the permission is set and reset on the UI explicitly. After that the api behaves correctly.