Horizon RBAC - (need to) Hide tab if no permissions available
Bug #1395434 reported by
Roey Dekel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Assume I (as sys admin) want to hide LBAAS services from tenant owners, therefore I changed every LBAAS feature (such as create pool, update vip, delete member etc.) in neutron_policy.json to rule:admin_only.
Current result : LBAAS tab is accessiable (for tenant's owners) with no content nor permissions for creating/
Expected result (in my opinion): hide LBAAS tab
Comment:
LBAAS is just an example, I think that every feature's tab without permissions should be hidden, unless it has important data to present.
affects: | barbican → horizon |
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in horizon: | |
assignee: | nobody → Timur Sufiev (tsufiev-x) |
To post a comment you must log in.
Roey, this change may be not as trivial as it seemed at first glance. Many tabs in openstack_dashboard has `preload = False` which means that at the time their headings are drawn in the multi-tabbed table it is not known whether they have any data inside. It will be known only once the user clicks on some tab's title - which leads to the data being loaded. It will be possible to determine the tabs contents only if we set `preload = True` for all of them, which will increase page loading time.
Or perhaps I had misunderstood you and you meant something else by 'important data'?