Login with external user can end up with the wrong whoami
Bug #2072337 reported by
Simon Richardson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Committed
|
High
|
Simon Richardson |
Bug Description
Login via @external can result in the wrong information being written to the local accounts.yaml. This can be confusing, as it _can_ be perceived that you're acting on the behalf of someone else. Although, as soon as you attempt to talk to the controller, the accounts.yaml is updated with the right information and whomai reports the right information.
It can be reproduced via:
juju bootstrap lxd test --config identity-url=https:/
juju grant <user>@external superuser
juju logout
juju login -u <user>@external
juju whoami
Changed in juju: | |
milestone: | 3.4.5 → 3.4.6 |
To post a comment you must log in.
PR https:/ /github. com/juju/ juju/pull/ 17667