stashy icon indicating copy to clipboard operation
stashy copied to clipboard

Project and Repository permissions - error

Open mbaldelli opened this issue 6 years ago • 3 comments

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

mbaldelli avatar Feb 15 '19 17:02 mbaldelli

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

cosmin avatar Feb 15 '19 18:02 cosmin

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.

mbaldelli avatar Feb 15 '19 19:02 mbaldelli

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

cosmin avatar Feb 15 '19 21:02 cosmin