[Openstack-operators] Horizon panel Permissions problem

苌智 changzhi1990 at gmail.com
Wed Dec 4 03:27:18 UTC 2013


I have four roles, they are ' admin ', ' role1 ', ' role2 ' , ' role3 '. I
want to see following Instances panel except the "role3" role . What should
I code this permissions ? ? ?

    class Instances(horizon.Panel):
        name = _("Instances")
        slug = 'instances'
        permissions = (' ... ... ', )

   dashboard.Project.register(Instances)

If you have any answers, please contact me ~ Thank you !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20131204/e5f2225c/attachment.html>


More information about the OpenStack-operators mailing list