]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: reset login to admin user
authorTatjana Dehler <tdehler@suse.com>
Wed, 9 Oct 2019 13:39:31 +0000 (15:39 +0200)
committerTatjana Dehler <tdehler@suse.com>
Fri, 11 Oct 2019 08:46:26 +0000 (10:46 +0200)
commita14163a589b7fdd6db377b4f58f2ec75d1130639
treec8291dbd28778dbe23193a36f3c26dec3367b452
parent4dd83fd6aabbec51f430790d546b444767b27c47
mgr/dashboard: reset login to admin user

After logging in with a separate testuser, especially a read-only
user, we need to reset the login to the admin user. This is important
in order to be able to continue with further tests. If not doing so
further tests might fail with the following error response:
{"status": "401 Unauthorized",
 "detail": "You are not authorized to access that resource", ...}

Fixes: https://tracker.ceph.com/issues/42226,
https://tracker.ceph.com/issues/42227
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
qa/tasks/mgr/dashboard/test_user.py