← Back to issue list

storeapi: properly handle lacking permission for channel

View original Github issue

Metadata

Project
snapcraft
Number
#2050
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2050 as commit ef350b470, replacing the channel-permission traceback with a helpful message and resolving LP #1761127.

Resolution: closed resolved

Reason: PR #2050 was merged as commit ef350b470. The change prevents Snapcraft from printing a traceback when release permissions are insufficient and instead displays a helpful message, fixing LP #1761127.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- Currently snapcraft prints a traceback when one tries to release to a channel without permission to do so. This PR fixes LP: [#1761127](https://bugs.launchpad.net/snapcraft/+bug/1761127) by no longer doing that, and opting to print a helpful message instead.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2050 as commit ef350b470, replacing the channel-permission traceback with a helpful message and resolving LP #1761127.
stealth/space-bunny-alpha — closed resolved Merged #2050 as ef350b470, replacing the permission-error traceback with a helpful message and resolving LP #1761127.
qwen/qwen3.6-35b-a3b — — Merged a fix for LP #1761127 that replaces a traceback with a helpful error message when releasing to a channel without sufficient permissions. The change spans three files with 97 additions and 4 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged fix resolves Launchpad bug #1761127 by replacing the traceback on channel release permission errors with a clear, user-friendly error message in the store API.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.