modelmanager.Client.GrantModel should be idempotent

Bug #1564880 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

Bug Description

If we try to grant a user access that they already have, it probably shouldn't
be an error, as things are already as we want them to be.

At the very least, the API call should return an error with an error
code that can be used to tell if this has happened.

Also, the error message holds the internal name of the access
right ("admin") rather than the user-facing name ("write")
(example: `user already has \"admin\" access`)

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Curtis Hovey (sinzui)
affects: juju-core → juju
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

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

Changed in juju:
status: Triaged → Expired
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.