RequestContext is_admin flag is always False
Bug #1660843 reported by
Vijendar Komalla
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Vijendar Komalla |
Bug Description
For admin users request context (RequestContext) flag 'is_admin'must be True, but it is always False. As a result, some of the admin user actions/operaetions are not working as expected.
Changed in magnum: | |
assignee: | nobody → Vijendar Komalla (vijendar-komalla) |
status: | New → In Progress |
description: | updated |
Changed in magnum: | |
assignee: | Vijendar Komalla (vijendar-komalla) → yatin (yatinkarel) |
Changed in magnum: | |
assignee: | yatin (yatinkarel) → Vijendar Komalla (vijendar-komalla) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/427507 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=54152970e1c f0755381c3f6e10 9205cda7bce149
Committed: https:/
Submitter: Jenkins
Branch: master
commit 54152970e1cf075 5381c3f6e109205 cda7bce149
Author: Vijendar Komalla <email address hidden>
Date: Tue Jan 31 15:42:55 2017 -0600
Set is_admin flag correctly in RequestContext
Currently is_admin flag is always False. As a result
some of the admin operations are not working.
For example, quotas-list is not listing all the
user quotas.
This change sets the flag correctly based on the
roles assigned to the user and policies defined
in policy.json.
Change-Id: I01534ccf1cf1e6 35282db497e0e02 6bea19c3bd2
Closes-Bug: #1660843