`juju offers` should not give an error when there are inaccessible offers

Bug #1754748 reported by james beedy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

When a user runs `juju offers` on a model for which they are not granted permissions on the endpoint they get a cryptic and broken feeling message.

$ juju offers --debug | https://paste.ubuntu.com/p/JVY45WQNsJ/

Can we get a more consumable and understandable error message here that directs the user to the next step please instead of just broken juju.

thx

Revision history for this message
John A Meinel (jameinel) wrote :

Is the issue that there is an offer in bdx/daniel-redis, but they shouldn't even have visibility on it (much less getting a NotFound error).
Or is the client currently switched to a model that they don't have access to?

Changed in juju:
importance: Undecided → High
status: New → Triaged
tags: added: cross-model usability
summary: - `juju offers` pushes cryptic and broken user facing message
+ `juju offers` should not give an error when there are inaccessible
+ offers
Revision history for this message
John A Meinel (jameinel) wrote :

I believe the intent is that offers that you cannot consume should just be treated as not there. The alternative would be to show them, but specifically flag them as "you don't have rights to consume this".

The latter is a little more discoverable, but has some issues with information leakage. (should you be able to see all the offers that other people are sharing, even if they aren't sharing it with you?)

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: High → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.