Thursday, 2018-12-06

*** btully has quit IRC00:12
*** gyee has quit IRC00:17
*** cshen has quit IRC00:27
*** dnguyen has quit IRC00:33
*** btully has joined #openstack-horizon00:44
*** btully has quit IRC00:53
*** Belgar81 has joined #openstack-horizon00:54
*** btully has joined #openstack-horizon00:55
*** btully has quit IRC01:06
*** tosky has quit IRC01:19
*** cshen has joined #openstack-horizon01:21
*** cshen has quit IRC01:25
*** btully has joined #openstack-horizon01:28
*** betherly has joined #openstack-horizon01:40
*** sapd1 has quit IRC01:40
*** btully has quit IRC01:41
*** betherly has quit IRC01:44
*** david-lyle has joined #openstack-horizon01:48
*** ChanServ sets mode: +o david-lyle01:48
*** sapd1 has joined #openstack-horizon01:49
*** itlinux has joined #openstack-horizon01:49
*** dklyle has quit IRC01:51
*** btully has joined #openstack-horizon02:00
*** slashd has quit IRC02:06
sapd1Does anyone get this problem https://bugs.launchpad.net/horizon/+bug/1806621?02:08
openstackLaunchpad bug 1806621 in OpenStack Dashboard (Horizon) "Keystone Federation only create one project" [Undecided,In progress] - Assigned to sapd (saphi070)02:08
*** btully has quit IRC02:12
*** slashd has joined #openstack-horizon02:34
*** btully has joined #openstack-horizon02:35
*** btully has quit IRC02:48
*** btully has joined #openstack-horizon02:50
*** betherly has joined #openstack-horizon02:51
*** betherly has quit IRC02:55
*** btully has quit IRC03:12
*** cshen has joined #openstack-horizon03:21
*** cshen has quit IRC03:26
*** btully has joined #openstack-horizon04:00
*** btully has quit IRC04:12
*** betherly has joined #openstack-horizon04:32
*** betherly has quit IRC04:37
*** cshen has joined #openstack-horizon05:22
*** cshen has quit IRC05:26
*** btully has joined #openstack-horizon05:44
*** btully has quit IRC05:53
*** btully has joined #openstack-horizon06:11
*** btully has quit IRC06:22
*** btully has joined #openstack-horizon06:32
*** btully has quit IRC06:49
openstackgerritThomas Bechtold proposed openstack/horizon master: Drop pki token check from Token class in openstack_auth  https://review.openstack.org/62314806:52
*** btully has joined #openstack-horizon06:59
*** btully has quit IRC07:12
*** jtomasek has joined #openstack-horizon07:23
*** e0ne has joined #openstack-horizon07:38
*** ChanServ sets mode: +o e0ne07:38
*** rcernin has quit IRC07:56
*** pcaruana has joined #openstack-horizon07:58
*** pcaruana is now known as muttley07:58
*** rcernin has joined #openstack-horizon08:03
*** btully has joined #openstack-horizon08:03
*** rdopiera has joined #openstack-horizon08:04
e0neamotoki: hi. are you around?08:18
*** btully has quit IRC08:22
*** cshen has joined #openstack-horizon08:26
*** btully has joined #openstack-horizon08:31
*** rcernin has quit IRC08:33
*** btully has quit IRC08:43
*** jpich has joined #openstack-horizon08:56
*** tosky has joined #openstack-horizon09:00
*** btully has joined #openstack-horizon09:31
*** btully has quit IRC09:42
*** btully has joined #openstack-horizon10:04
*** btully has quit IRC10:12
*** e0ne has quit IRC10:24
*** yan0s has joined #openstack-horizon10:26
*** e0ne has joined #openstack-horizon10:27
*** ChanServ sets mode: +o e0ne10:27
yan0sHi all, what is the recommended way to choose which tabs will be visible in the dashboard for each user role?10:32
yan0sis there such a functionality?10:32
rdopierayan0s: not really, horizon always shows everything the user has access to10:33
rdopierayan0s: so you have some control using the policies10:33
*** mvkr has joined #openstack-horizon10:36
*** btully has joined #openstack-horizon10:41
yan0sfor example I what a user role to be able to create flavors10:41
yan0sI have set the nova policy.json so that he can10:42
yan0sI test with cli and it works10:42
yan0sbut there is no "Admin" tab in the dashboard10:42
rdopierawell, it might not be as fine-grained10:43
rdopierathe flavors tab requires compute admin10:45
*** btully has quit IRC10:52
*** Belgar81 has quit IRC10:54
yan0swhat do you mean by "compute admin"?11:19
yan0sopenstack role add --project service --user user_with_access_to_flavors admin11:27
yan0ssomething like this?11:27
*** btully has joined #openstack-horizon11:32
*** btully has quit IRC11:47
rdopierain the flavors panel we have:12:05
rdopiera    policy_rules = (("compute", "context_is_admin"),)12:05
rdopieranot sure what that translates to exactly12:06
yan0swhich file is that?12:09
rdopierapanel.py in flavors dashboar12:11
rdopierad12:11
yan0sok got it!12:26
yan0schanging admin/flavors/panel.py and admin/dashboard.py12:26
yan0sadding my custom role there did it12:26
yan0sI can see the Admin tab with Flavors option in it12:27
yan0sbut is that the correct way of achieving this?12:27
rdopierano12:27
rdopierayou should never need to modify anything in the code12:28
yan0sI guess I can change the context_is_admin definition in my policy.json12:28
rdopierathat sounds more reasonable12:30
*** btully has joined #openstack-horizon12:43
*** betherly has joined #openstack-horizon12:52
*** btully has quit IRC12:53
*** cshen has quit IRC12:56
*** betherly has quit IRC13:01
*** muttley has quit IRC13:08
*** rcernin has joined #openstack-horizon13:17
*** muttley has joined #openstack-horizon13:21
*** muttley has quit IRC13:25
*** muttley has joined #openstack-horizon13:26
*** rcernin has quit IRC13:29
*** muttley has quit IRC13:29
*** btully has joined #openstack-horizon13:33
*** pcaruana has joined #openstack-horizon13:34
*** cshen has joined #openstack-horizon13:39
*** pcaruana has quit IRC13:39
*** btully has quit IRC13:42
*** pcaruana has joined #openstack-horizon13:43
*** btully has joined #openstack-horizon13:46
*** pcaruana has quit IRC13:47
*** lblanchard has joined #openstack-horizon13:47
*** btully has quit IRC14:03
*** cshen has quit IRC14:17
*** cshen has joined #openstack-horizon14:24
*** btully has joined #openstack-horizon14:32
*** btully has quit IRC14:42
yan0splacing my custom role in admin/flavors/panel.py and admin/dashboard.py files makes the Admin/Flavors tabs appear in the dashboard14:57
yan0son the other hand14:57
yan0sif I leave the code in the default state14:58
yan0swhich uses the "context_is_admin" role14:58
yan0sand I edit the policy.json file from "context_is_admin": "role:admin" to "context_is_admin": "role:admin or role:project_admin"15:00
yan0sthen the tabs are not visible in the dashboard for users of role "project_admin"15:00
yan0sso for now my only solution is messing with the code15:01
*** btully has joined #openstack-horizon15:03
*** lblanchard has quit IRC15:09
*** lblanchard has joined #openstack-horizon15:10
*** btully has quit IRC15:12
openstackgerritThomas Bechtold proposed openstack/horizon master: Drop pki token check from Token class in openstack_auth  https://review.openstack.org/62314815:26
*** btully has joined #openstack-horizon15:32
*** jhesketh has quit IRC15:34
*** jhesketh has joined #openstack-horizon15:35
*** btully has quit IRC15:41
*** yan0s has quit IRC16:03
*** takamatsu has quit IRC16:10
*** rdopiera has quit IRC16:28
*** e0ne has quit IRC16:30
*** btully has joined #openstack-horizon16:32
*** btully has quit IRC16:42
*** btully has joined #openstack-horizon16:45
*** btully has quit IRC16:59
*** btully has joined #openstack-horizon16:59
*** btully has quit IRC17:24
*** jtomasek has quit IRC17:32
*** cshen has quit IRC17:32
*** dnguyen has joined #openstack-horizon17:46
*** jpich has quit IRC17:48
*** gyee has joined #openstack-horizon17:55
*** btully has joined #openstack-horizon18:01
*** e0ne has joined #openstack-horizon18:08
*** ChanServ sets mode: +o e0ne18:08
*** e0ne has quit IRC18:09
*** btully has quit IRC18:11
*** N3l1x has quit IRC18:22
*** N3l1x has joined #openstack-horizon18:23
*** cshen has joined #openstack-horizon18:25
*** dave-mccowan has joined #openstack-horizon18:29
*** btully has joined #openstack-horizon18:31
*** btully has quit IRC18:42
*** btully has joined #openstack-horizon19:02
*** btully has quit IRC19:24
*** btully has joined #openstack-horizon19:30
*** btully has quit IRC19:43
*** rcernin has joined #openstack-horizon20:12
*** btully has joined #openstack-horizon20:12
*** cshen has quit IRC20:20
*** cshen has joined #openstack-horizon20:23
*** btully has quit IRC20:23
*** david-lyle is now known as dklyle20:24
*** cshen has quit IRC20:30
*** btully has joined #openstack-horizon20:30
*** cshen has joined #openstack-horizon20:31
*** rdopiera has joined #openstack-horizon20:38
*** btully has quit IRC20:44
*** btully has joined #openstack-horizon20:59
*** dnguyen has quit IRC20:59
*** dnguyen has joined #openstack-horizon21:01
*** btully has quit IRC21:11
*** lblanchard has quit IRC21:15
*** rdopiera has quit IRC21:28
*** btully has joined #openstack-horizon21:49
*** dnguyen has quit IRC21:54
*** dnguyen has joined #openstack-horizon21:58
*** dnguyen has quit IRC22:00
*** btully has quit IRC22:00
*** btully has joined #openstack-horizon22:00
*** dnguyen has joined #openstack-horizon22:01
*** dnguyen has quit IRC22:02
*** dnguyen has joined #openstack-horizon22:07
*** dnguyen has quit IRC22:08
*** btully has quit IRC22:13
*** btully has joined #openstack-horizon22:29
*** btully has quit IRC22:43
*** cshen has quit IRC22:59
*** lbragstad has quit IRC23:08
*** lbragstad has joined #openstack-horizon23:09
*** lblanchard has joined #openstack-horizon23:28
*** btully has joined #openstack-horizon23:35
*** lblanchard has quit IRC23:40
*** btully has quit IRC23:48
*** N3l1x has quit IRC23:53

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!