OpenStack Image Registry and Delivery Service (Glance)

glance context is_admin role check is fragile

Reported by Brian Waldon on 2012-03-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
High
Brian Waldon

Bug Description

The is_admin check in the glance context checks for the role 'Admin', which is a very bad requirement to enforce. Devstack actually uses 'admin'. We should make the service admin role configurable

Reviewed: https://review.openstack.org/5455
Committed: http://github.com/openstack/glance/commit/eff04c5612e613580e89349858d3e9ae4f5cc64c
Submitter: Jenkins
Branch: master

commit eff04c5612e613580e89349858d3e9ae4f5cc64c
Author: Brian Waldon <email address hidden>
Date: Thu Mar 15 16:36:43 2012 -0700

    Add admin_role option

    * Allow a deployer to define the role that should give an authenticated
      user admin privileges. Defaults to 'admin'
    * Fixes bug 956547

    Change-Id: I018b9c438a12c527833ed8e2e6c377a93fde9130

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-21
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers