modelmanager.Client.GrantModel should be idempotent
Bug #1564880 reported by
Roger Peppe
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 |
affects: | juju-core → juju |
To post a comment you must log in.
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.