Project admin user can disable his only project and can`t login back
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
Paul Karikh | ||
5.1.x |
Won't Fix
|
Medium
|
Alexey Khivin | ||
6.0.x |
Won't Fix
|
Medium
|
Alexey Khivin |
Bug Description
Project admin user can disable his only project and then can`t to relogin back.
Steps:
1. Logged-in to Horizon as admin.
2. Created user "barsik".
3. Then edited project named "services": added "barsik" as "_member_" and "admin" there.
4. Logout.
5. Logged-in as "barsik".
6. Go to Identity -> Projects.
7. Set project "services" Enabled=False by checkbox.
Get red popup Error: Not authorized to do this operation. It`s quite expected to be not able to do this.
Cancel action by "X" button
(screenshot frame 1)
Got error: Error: Unauthorized: Unable to retrieve project list.
Also could not to retrieve contents of any another page with errors like this.
8. Logout
9. Try to login back as "barsik".
Could not login back (screenshot frame 2): Unable to authenticate to any available projects.
10. Login back as admin. See that project "services" is disabled.
(screenshot frame 3)
Environment:
MOS 6.1 build
{"build_id": "2015-02-
description: | updated |
Changed in mos: | |
status: | New → Confirmed |
Changed in mos: | |
status: | Confirmed → Fix Committed |
Upstream bugs are https:/ /bugs.launchpad .net/horizon/ +bug/1398331 and https:/ /bugs.launchpad .net/horizon/ +bug/1413068