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.
Reviewed: https:/ /review. openstack. org/17583 github. com/openstack/ horizon/ commit/ eab5fc7712ce9c0 b0e226a059f0547 73426ad6ae
Committed: http://
Submitter: Jenkins
Branch: master
commit eab5fc7712ce9c0 b0e226a059f0547 73426ad6ae
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: Icc12b479c3eb88 8320af735b8b781 0e58517eef0