RequestContext is_admin flag is always False

Bug #1660843 reported by Vijendar Komalla
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Submitter: Jenkins
Branch: master

commit 54152970e1cf0755381c3f6e109205cda7bce149
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: I01534ccf1cf1e635282db497e0e026bea19c3bd2
    Closes-Bug: #1660843

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 5.0.0

This issue was fixed in the openstack/magnum 5.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.