← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1684475] [NEW] Fix unauthorized exception in user page as a member user.

 

Public bug reported:

Env: devstack master branch

Steps to reproduce:
1. As a member role user login
2. Go to identity/Users panel  or click user name or click Change Password row action.

Error info:

Unauthorized: 
Traceback (most recent call last):
  File "/opt/stack/horizon/openstack_dashboard/dashboards/identity/users/views.py", line 85, in get_data
    self.request.user.id)
  File "/opt/stack/horizon/openstack_dashboard/api/keystone.py", line 454, in user_get
    user = keystoneclient(request, admin=admin).users.get(user_id)
  File "/opt/stack/horizon/openstack_dashboard/api/keystone.py", line 170, in keystoneclient
    raise exceptions.NotAuthorized
NotAuthorized

** Affects: horizon
     Importance: Undecided
     Assignee: wei.ying (wei.yy)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => wei.ying (wei.yy)

-- 
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/1684475

Title:
  Fix unauthorized exception in user page as a member user.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Env: devstack master branch

  Steps to reproduce:
  1. As a member role user login
  2. Go to identity/Users panel  or click user name or click Change Password row action.

  Error info:

  Unauthorized: 
  Traceback (most recent call last):
    File "/opt/stack/horizon/openstack_dashboard/dashboards/identity/users/views.py", line 85, in get_data
      self.request.user.id)
    File "/opt/stack/horizon/openstack_dashboard/api/keystone.py", line 454, in user_get
      user = keystoneclient(request, admin=admin).users.get(user_id)
    File "/opt/stack/horizon/openstack_dashboard/api/keystone.py", line 170, in keystoneclient
      raise exceptions.NotAuthorized
  NotAuthorized

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


Follow ups