Unauthorized exception in users panel as a member role user.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
wei.ying |
Bug Description
Env: devstack master branch
Steps to reproduce:
1. Enable OPENSTACK_
2. As a member role user login
3. Go to identity/Users panel or Click user name or Click Change Password row action or Submit Change Password form.
Error info:
Unauthorized:
Traceback (most recent call last):
File "/opt/stack/
self.
File "/opt/stack/
user = keystoneclient(
File "/opt/stack/
raise exceptions.
NotAuthorized
Changed in horizon: | |
assignee: | nobody → wei.ying (wei.yy) |
summary: |
- Fix unauthorized exception in user page as a member user. + Unauthorized exception in user page as a member user. |
Changed in horizon: | |
status: | New → In Progress |
summary: |
- Unauthorized exception in user page as a member user. + Unauthorized exception in users panel as a member role user. |
description: | updated |
description: | updated |
Changed in horizon: | |
milestone: | none → pike-2 |
importance: | Undecided → High |
Reviewed: https:/ /review. openstack. org/458393 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=5d8c8fb85ba 448a6076a06ad68 35bcc1c6ef9ce2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5d8c8fb85ba448a 6076a06ad6835bc c1c6ef9ce2
Author: wei.ying <email address hidden>
Date: Thu Apr 20 16:07:37 2017 +0800
Fix unauthorized exception in users panel
If a member role user login and use admin to get keystoneclient,
but he is not a super user, then a notAuthorized exceptions will be raised,
it seems to be unreasonable.
The following actions will throw unauthorized exception.
Go to Users panel, Click user name , Click Change Password,
Submit Change Password form.
Change-Id: I4f6486b92f023a d0daecfff51e3a1 ed16b0e78c0
Closes-Bug: #1684475