MOS8.0,7.0,6.0 admin login to project fails

Bug #1571149 reported by koren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Medium
MOS Horizon
6.0.x
Invalid
Medium
MOS Maintenance
7.0.x
Invalid
Medium
MOS Maintenance
8.0.x
Invalid
Medium
MOS Maintenance
9.x
Invalid
Medium
MOS Horizon
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

create project:
1)login as admin.
2)add project, add admin as member to that project.
3)logout

recreate bug:
2.1)login as admin.
2.2)from "projects" on top left choose the project.
2.3)you are "unauthorized" and sent out ....
2.4)try login again (no change to url) - unsuccessful ...
2.5)change url back to root level, login again, and you are now authorized inside the project.

repeat 2.1 to 2.5 many times ....same results

Tags: need-info
Revision history for this message
Dina Belova (dbelova) wrote :

MOS Horizon team, please take a look. Most probably that's duplicate of some other bug.

Changed in mos:
assignee: nobody → MOS Horizon (mos-horizon)
status: New → Confirmed
milestone: none → 8.0-updates
importance: Undecided → Medium
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Works as expected in 9.0: if User doesn't have enough permissions to view a panel contents (which is certainly true for a default Admin Overview panel with just a Member/_member_ role), he is logged out with an appropriate message and a chance to go to the page that he has enough permissions to view (see screenshot).

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Basing on the behavior described in the 3rd comment, I'm setting this as Invalid for 7.0 too, as it totally acts the same.

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Checked on 8.0 - all the same, works as expected.

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Checked on 6.0 - works as expected.

Revision history for this message
koren (korenlev) wrote :

I believe admin should do anything, no?
My guess is keystone model is wrongf if admin is not a project member he can not test/create stuff in the project. So he needs to be member. If he is member then he faces this jumping in and out all the time....frustrating by design....
I thought admin can do anything and not be logged out....On Apr 1

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

I've already told you via email - this is not a bug, everything works as expected. You need either to set your role to "admin" (not member, it's an unprivileged role!) in all related projects or just switch a view before switching between projects.

Revision history for this message
Dina Belova (dbelova) wrote :

set invalid for Ubuntu project as well

Changed in ubuntu:
status: New → Invalid
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.