Friday, 2022-03-11

vishalmanchandardopiera: Hi, just tested you latest P.S. https://review.opendev.org/c/openstack/horizon/+/81876311:34
vishalmanchandardopiera: I see one issue with your patch, Could you please check.11:34
vishalmanchandardopiera: thanks for the fix.11:34
rdopieravishalmanchanda: you should see "identity" when you switch to system scope12:02
rdopierait's basically moved to that menu12:03
vishalmanchandardopiera: so, a admin user can't see identity dashboard without switching to system scope?12:05
rdopieravishalmanchanda: yes, since it requires system scope token to use it12:09
vishalmanchandardopiera: ack, let me try 1-2 more cases in my mind.12:13
vishalmanchandardopiera: So, If someone use horizon after your patch is merged.12:16
vishalmanchandardopiera: As a admin, he will not be able to use Identity dashboard by default.12:17
vishalmanchandauntil he add SYSTEM_SCOPE_SERVICES = ['identity']12:18
vishalmanchandardopiera: What if not change the default behavior for now and show the Identity dashboard as well?12:24
vishalmanchandaamotoki: e0ne: tmazur: Please let us know your thoughts about the above patch!12:26
rdopieravishalmanchanda: no, with SYSTEM_SCOPE_SERVICES=[] the identity panel should be there as normal12:32
rdopieravishalmanchanda: only with SYSTEM_SCOPE_SERVICES=["identity"] it is moved into the system scope menu12:34
vishalmanchandardopiera: but if apply your patch the identity panel is missing for me.14:53
vishalmanchandardopiera: I have also attached a screenshot of  that in the review comment. Please take a look.14:54
rdopieravishalmanchanda: that was a bug previously, but it should be fixed with the current version15:01
rdopieravishalmanchanda: is it missing with SYSTEM_SCOPE_SERVICES=[]?15:02
vishalmanchandardopiera: yes I guess.15:02
rdopieraare you sure the setting is taking effect?15:02
vishalmanchandardopiera: I can try again with a different environment.15:02
rdopierado you see system scope in the context switching menu?15:03
rdopieraif you don't see system scope, you should see identity panel15:03
vishalmanchandardopiera: no15:03
rdopierais that devstack?15:03
vishalmanchandaYup.15:03
vishalmanchandardopiera: let me try with a new environment.15:04
rdopieravishalmanchanda: can you click on the "admin" project in the context selection menu? does that make the identity menu appear?15:05
rdopiera        if (('identity' in settings.SYSTEM_SCOPE_SERVICES) != bool(context['request'].user.system_scoped)): return False15:06
rdopierathis is the condition I am using15:06
rdopierathat means that somehow user.system_scoped is True for you, even though you are not in the system scope15:06
vishalmanchandardopiera: will check and let you know, outside right now.15:06
rdopierathanks, sorry for this, but I really don't understand what is happening there15:07
vishalmanchandardopiera: could you drop a screenshot of your env. Where identity panel is there and system scope option is not in switching menu.15:08
rdopieravishalmanchanda: http://paste.sheep.art.pl/Fe4FZcu3/+inline15:12
vishalmanchandardopiera: you are right,  it was some issue in my browser(cache) that's why I am not able to see Identity panel in default case.16:33

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!