Comment 0 for bug 1418931

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

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 back 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-01_22-55-01", "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068", "build_number": "92", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-02-01_22-55-01", "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068", "build_number": "92", "api": "1.0", "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b", "production": "docker", "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358", "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b", "production": "docker", "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358", "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"}