Login with external user can end up with the wrong whoami

Bug #2072337 reported by Simon Richardson
6
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://api.jujucharms.com/identity --config allow-model-access=true
    juju grant <user>@external superuser
    juju logout
    juju login -u <user>@external
    juju whoami

Revision history for this message
Simon Richardson (simonrichardson) wrote :
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
milestone: 3.4.5 → 3.4.6
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.