*** btully has quit IRC | 00:12 | |
*** gyee has quit IRC | 00:17 | |
*** cshen has quit IRC | 00:27 | |
*** dnguyen has quit IRC | 00:33 | |
*** btully has joined #openstack-horizon | 00:44 | |
*** btully has quit IRC | 00:53 | |
*** Belgar81 has joined #openstack-horizon | 00:54 | |
*** btully has joined #openstack-horizon | 00:55 | |
*** btully has quit IRC | 01:06 | |
*** tosky has quit IRC | 01:19 | |
*** cshen has joined #openstack-horizon | 01:21 | |
*** cshen has quit IRC | 01:25 | |
*** btully has joined #openstack-horizon | 01:28 | |
*** betherly has joined #openstack-horizon | 01:40 | |
*** sapd1 has quit IRC | 01:40 | |
*** btully has quit IRC | 01:41 | |
*** betherly has quit IRC | 01:44 | |
*** david-lyle has joined #openstack-horizon | 01:48 | |
*** ChanServ sets mode: +o david-lyle | 01:48 | |
*** sapd1 has joined #openstack-horizon | 01:49 | |
*** itlinux has joined #openstack-horizon | 01:49 | |
*** dklyle has quit IRC | 01:51 | |
*** btully has joined #openstack-horizon | 02:00 | |
*** slashd has quit IRC | 02:06 | |
sapd1 | Does anyone get this problem https://bugs.launchpad.net/horizon/+bug/1806621? | 02:08 |
---|---|---|
openstack | Launchpad bug 1806621 in OpenStack Dashboard (Horizon) "Keystone Federation only create one project" [Undecided,In progress] - Assigned to sapd (saphi070) | 02:08 |
*** btully has quit IRC | 02:12 | |
*** slashd has joined #openstack-horizon | 02:34 | |
*** btully has joined #openstack-horizon | 02:35 | |
*** btully has quit IRC | 02:48 | |
*** btully has joined #openstack-horizon | 02:50 | |
*** betherly has joined #openstack-horizon | 02:51 | |
*** betherly has quit IRC | 02:55 | |
*** btully has quit IRC | 03:12 | |
*** cshen has joined #openstack-horizon | 03:21 | |
*** cshen has quit IRC | 03:26 | |
*** btully has joined #openstack-horizon | 04:00 | |
*** btully has quit IRC | 04:12 | |
*** betherly has joined #openstack-horizon | 04:32 | |
*** betherly has quit IRC | 04:37 | |
*** cshen has joined #openstack-horizon | 05:22 | |
*** cshen has quit IRC | 05:26 | |
*** btully has joined #openstack-horizon | 05:44 | |
*** btully has quit IRC | 05:53 | |
*** btully has joined #openstack-horizon | 06:11 | |
*** btully has quit IRC | 06:22 | |
*** btully has joined #openstack-horizon | 06:32 | |
*** btully has quit IRC | 06:49 | |
openstackgerrit | Thomas Bechtold proposed openstack/horizon master: Drop pki token check from Token class in openstack_auth https://review.openstack.org/623148 | 06:52 |
*** btully has joined #openstack-horizon | 06:59 | |
*** btully has quit IRC | 07:12 | |
*** jtomasek has joined #openstack-horizon | 07:23 | |
*** e0ne has joined #openstack-horizon | 07:38 | |
*** ChanServ sets mode: +o e0ne | 07:38 | |
*** rcernin has quit IRC | 07:56 | |
*** pcaruana has joined #openstack-horizon | 07:58 | |
*** pcaruana is now known as muttley | 07:58 | |
*** rcernin has joined #openstack-horizon | 08:03 | |
*** btully has joined #openstack-horizon | 08:03 | |
*** rdopiera has joined #openstack-horizon | 08:04 | |
e0ne | amotoki: hi. are you around? | 08:18 |
*** btully has quit IRC | 08:22 | |
*** cshen has joined #openstack-horizon | 08:26 | |
*** btully has joined #openstack-horizon | 08:31 | |
*** rcernin has quit IRC | 08:33 | |
*** btully has quit IRC | 08:43 | |
*** jpich has joined #openstack-horizon | 08:56 | |
*** tosky has joined #openstack-horizon | 09:00 | |
*** btully has joined #openstack-horizon | 09:31 | |
*** btully has quit IRC | 09:42 | |
*** btully has joined #openstack-horizon | 10:04 | |
*** btully has quit IRC | 10:12 | |
*** e0ne has quit IRC | 10:24 | |
*** yan0s has joined #openstack-horizon | 10:26 | |
*** e0ne has joined #openstack-horizon | 10:27 | |
*** ChanServ sets mode: +o e0ne | 10:27 | |
yan0s | Hi all, what is the recommended way to choose which tabs will be visible in the dashboard for each user role? | 10:32 |
yan0s | is there such a functionality? | 10:32 |
rdopiera | yan0s: not really, horizon always shows everything the user has access to | 10:33 |
rdopiera | yan0s: so you have some control using the policies | 10:33 |
*** mvkr has joined #openstack-horizon | 10:36 | |
*** btully has joined #openstack-horizon | 10:41 | |
yan0s | for example I what a user role to be able to create flavors | 10:41 |
yan0s | I have set the nova policy.json so that he can | 10:42 |
yan0s | I test with cli and it works | 10:42 |
yan0s | but there is no "Admin" tab in the dashboard | 10:42 |
rdopiera | well, it might not be as fine-grained | 10:43 |
rdopiera | the flavors tab requires compute admin | 10:45 |
*** btully has quit IRC | 10:52 | |
*** Belgar81 has quit IRC | 10:54 | |
yan0s | what do you mean by "compute admin"? | 11:19 |
yan0s | openstack role add --project service --user user_with_access_to_flavors admin | 11:27 |
yan0s | something like this? | 11:27 |
*** btully has joined #openstack-horizon | 11:32 | |
*** btully has quit IRC | 11:47 | |
rdopiera | in the flavors panel we have: | 12:05 |
rdopiera | policy_rules = (("compute", "context_is_admin"),) | 12:05 |
rdopiera | not sure what that translates to exactly | 12:06 |
yan0s | which file is that? | 12:09 |
rdopiera | panel.py in flavors dashboar | 12:11 |
rdopiera | d | 12:11 |
yan0s | ok got it! | 12:26 |
yan0s | changing admin/flavors/panel.py and admin/dashboard.py | 12:26 |
yan0s | adding my custom role there did it | 12:26 |
yan0s | I can see the Admin tab with Flavors option in it | 12:27 |
yan0s | but is that the correct way of achieving this? | 12:27 |
rdopiera | no | 12:27 |
rdopiera | you should never need to modify anything in the code | 12:28 |
yan0s | I guess I can change the context_is_admin definition in my policy.json | 12:28 |
rdopiera | that sounds more reasonable | 12:30 |
*** btully has joined #openstack-horizon | 12:43 | |
*** betherly has joined #openstack-horizon | 12:52 | |
*** btully has quit IRC | 12:53 | |
*** cshen has quit IRC | 12:56 | |
*** betherly has quit IRC | 13:01 | |
*** muttley has quit IRC | 13:08 | |
*** rcernin has joined #openstack-horizon | 13:17 | |
*** muttley has joined #openstack-horizon | 13:21 | |
*** muttley has quit IRC | 13:25 | |
*** muttley has joined #openstack-horizon | 13:26 | |
*** rcernin has quit IRC | 13:29 | |
*** muttley has quit IRC | 13:29 | |
*** btully has joined #openstack-horizon | 13:33 | |
*** pcaruana has joined #openstack-horizon | 13:34 | |
*** cshen has joined #openstack-horizon | 13:39 | |
*** pcaruana has quit IRC | 13:39 | |
*** btully has quit IRC | 13:42 | |
*** pcaruana has joined #openstack-horizon | 13:43 | |
*** btully has joined #openstack-horizon | 13:46 | |
*** pcaruana has quit IRC | 13:47 | |
*** lblanchard has joined #openstack-horizon | 13:47 | |
*** btully has quit IRC | 14:03 | |
*** cshen has quit IRC | 14:17 | |
*** cshen has joined #openstack-horizon | 14:24 | |
*** btully has joined #openstack-horizon | 14:32 | |
*** btully has quit IRC | 14:42 | |
yan0s | placing my custom role in admin/flavors/panel.py and admin/dashboard.py files makes the Admin/Flavors tabs appear in the dashboard | 14:57 |
yan0s | on the other hand | 14:57 |
yan0s | if I leave the code in the default state | 14:58 |
yan0s | which uses the "context_is_admin" role | 14:58 |
yan0s | and I edit the policy.json file from "context_is_admin": "role:admin" to "context_is_admin": "role:admin or role:project_admin" | 15:00 |
yan0s | then the tabs are not visible in the dashboard for users of role "project_admin" | 15:00 |
yan0s | so for now my only solution is messing with the code | 15:01 |
*** btully has joined #openstack-horizon | 15:03 | |
*** lblanchard has quit IRC | 15:09 | |
*** lblanchard has joined #openstack-horizon | 15:10 | |
*** btully has quit IRC | 15:12 | |
openstackgerrit | Thomas Bechtold proposed openstack/horizon master: Drop pki token check from Token class in openstack_auth https://review.openstack.org/623148 | 15:26 |
*** btully has joined #openstack-horizon | 15:32 | |
*** jhesketh has quit IRC | 15:34 | |
*** jhesketh has joined #openstack-horizon | 15:35 | |
*** btully has quit IRC | 15:41 | |
*** yan0s has quit IRC | 16:03 | |
*** takamatsu has quit IRC | 16:10 | |
*** rdopiera has quit IRC | 16:28 | |
*** e0ne has quit IRC | 16:30 | |
*** btully has joined #openstack-horizon | 16:32 | |
*** btully has quit IRC | 16:42 | |
*** btully has joined #openstack-horizon | 16:45 | |
*** btully has quit IRC | 16:59 | |
*** btully has joined #openstack-horizon | 16:59 | |
*** btully has quit IRC | 17:24 | |
*** jtomasek has quit IRC | 17:32 | |
*** cshen has quit IRC | 17:32 | |
*** dnguyen has joined #openstack-horizon | 17:46 | |
*** jpich has quit IRC | 17:48 | |
*** gyee has joined #openstack-horizon | 17:55 | |
*** btully has joined #openstack-horizon | 18:01 | |
*** e0ne has joined #openstack-horizon | 18:08 | |
*** ChanServ sets mode: +o e0ne | 18:08 | |
*** e0ne has quit IRC | 18:09 | |
*** btully has quit IRC | 18:11 | |
*** N3l1x has quit IRC | 18:22 | |
*** N3l1x has joined #openstack-horizon | 18:23 | |
*** cshen has joined #openstack-horizon | 18:25 | |
*** dave-mccowan has joined #openstack-horizon | 18:29 | |
*** btully has joined #openstack-horizon | 18:31 | |
*** btully has quit IRC | 18:42 | |
*** btully has joined #openstack-horizon | 19:02 | |
*** btully has quit IRC | 19:24 | |
*** btully has joined #openstack-horizon | 19:30 | |
*** btully has quit IRC | 19:43 | |
*** rcernin has joined #openstack-horizon | 20:12 | |
*** btully has joined #openstack-horizon | 20:12 | |
*** cshen has quit IRC | 20:20 | |
*** cshen has joined #openstack-horizon | 20:23 | |
*** btully has quit IRC | 20:23 | |
*** david-lyle is now known as dklyle | 20:24 | |
*** cshen has quit IRC | 20:30 | |
*** btully has joined #openstack-horizon | 20:30 | |
*** cshen has joined #openstack-horizon | 20:31 | |
*** rdopiera has joined #openstack-horizon | 20:38 | |
*** btully has quit IRC | 20:44 | |
*** btully has joined #openstack-horizon | 20:59 | |
*** dnguyen has quit IRC | 20:59 | |
*** dnguyen has joined #openstack-horizon | 21:01 | |
*** btully has quit IRC | 21:11 | |
*** lblanchard has quit IRC | 21:15 | |
*** rdopiera has quit IRC | 21:28 | |
*** btully has joined #openstack-horizon | 21:49 | |
*** dnguyen has quit IRC | 21:54 | |
*** dnguyen has joined #openstack-horizon | 21:58 | |
*** dnguyen has quit IRC | 22:00 | |
*** btully has quit IRC | 22:00 | |
*** btully has joined #openstack-horizon | 22:00 | |
*** dnguyen has joined #openstack-horizon | 22:01 | |
*** dnguyen has quit IRC | 22:02 | |
*** dnguyen has joined #openstack-horizon | 22:07 | |
*** dnguyen has quit IRC | 22:08 | |
*** btully has quit IRC | 22:13 | |
*** btully has joined #openstack-horizon | 22:29 | |
*** btully has quit IRC | 22:43 | |
*** cshen has quit IRC | 22:59 | |
*** lbragstad has quit IRC | 23:08 | |
*** lbragstad has joined #openstack-horizon | 23:09 | |
*** lblanchard has joined #openstack-horizon | 23:28 | |
*** btully has joined #openstack-horizon | 23:35 | |
*** lblanchard has quit IRC | 23:40 | |
*** btully has quit IRC | 23:48 | |
*** N3l1x has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!