cosmin / stashy

Python API client for the Atlassian Stash REST API
Other
232 stars 147 forks source link

Project and Repository permissions - error #123

Open mbaldelli opened 5 years ago

mbaldelli commented 5 years ago

Hi there, in stashy/permissions.py (lines 127 and 161), 'revoke' apis call http post when they're supposed to call http delete

Result: 405 not allowed is thrown by Stash / Bitbucket

cosmin commented 5 years ago

Should be an easy fix, do you want to take a stab at a pull request?

mbaldelli commented 5 years ago

Sure. I actually tried to push a branch with the fix (to open a pull request) but I got 403. If you tell me you can add me to the repo permissions, I'll push my changes.

cosmin commented 5 years ago

Fork the repo on GitHub and push the branch to your mirror, then open the pull request from there.