← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1347732] [NEW] Panel role permissions not working as expected

 

Public bug reported:

I have created a new role as "company_project_admin" and have specified
the same in keystone policy.json

In project dashboard i have added a custom panel as stated in
http://docs.openstack.org/developer/horizon/quickstart.html#panel-
classes

class Images(horizon.Panel):
    name = "Images"
    slug = 'images'
    permissions = ('openstack.roles.admin', 'openstack.roles.company_project_admin',)


I see that even user with _member_ role is able to see the images panel. Expecting only admin and  company_project_admin role to see the images panel. Am i missing something here?

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1347732

Title:
  Panel role permissions not working as expected

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I have created a new role as "company_project_admin" and have
  specified the same in keystone policy.json

  In project dashboard i have added a custom panel as stated in
  http://docs.openstack.org/developer/horizon/quickstart.html#panel-
  classes

  class Images(horizon.Panel):
      name = "Images"
      slug = 'images'
      permissions = ('openstack.roles.admin', 'openstack.roles.company_project_admin',)

  
  I see that even user with _member_ role is able to see the images panel. Expecting only admin and  company_project_admin role to see the images panel. Am i missing something here?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1347732/+subscriptions


Follow ups

References