Support permissions on tables

Bug #1087128 reported by Kieran Spear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Kieran Spear

Bug Description

Sometimes we want to hide certain UI elements depending on the permissions granted to the current user. At the moment this is possible for Actions and Panels. It would be useful to extend this support to DataTables too.

The first use of the support would be an appropriate permission on the volume snapshots table so that like the volumes panel, it is only displayed when the 'volume' service is active.

Kieran Spear (kspear)
Changed in horizon:
assignee: nobody → Kieran Spear (kspear)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/17583

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/17583
Committed: http://github.com/openstack/horizon/commit/eab5fc7712ce9c0b0e226a059f054773426ad6ae
Submitter: Jenkins
Branch: master

commit eab5fc7712ce9c0b0e226a059f054773426ad6ae
Author: Kieran Spear <email address hidden>
Date: Wed Dec 5 14:00:13 2012 +1100

    Allow permissions to be set on tables

    Sometimes we want to hide certain UI elements depending on the
    permissions granted to the current user. At the moment this is
    possible for Actions and Panels. This commit extends support to
    DataTable too.

    We also set the permission on the volume snapshots table so that,
    like the volumes panel, it is only displayed when the 'volume'
    service is active.

    Fixes bug #1087128.

    Change-Id: Icc12b479c3eb888320af735b8b7810e58517eef0

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-2 → 2013.1
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.