trying to push with the wrong macaroon return non user-friendly error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
I used snapcraft enable-ci travis to get a macaroon for the bitcoin snap. I didn't know this macaroon was attenuated only to work with this snap, so I tried to use it to push also bitcoin-unlimited. It failed with a 403 error and the json returned from the store:
Pushing 'bitcoin-
Received 403: '{"status": 403, "error_list": [{"message": "Permission is required: package_upload", "code": "macaroon-
It should return a user-friendly error message instead.