when showing quota-usage details, return NULL

Bug #1708133 reported by Zhengwei Gao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Kevin Benton

Bug Description

In case of: User cann't get quota usage detail for their own project, when try to get quota usage detail for their own project, it will ruturn null. however, it only allow admin to get other's user project quota usage detail.

Changed in neutron:
assignee: nobody → Zhengwei Gao (multi-task)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/489999

description: updated
Changed in neutron:
status: New → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :

It is worth fixed in RC1. This breaks the expected behavior of the API.

Changed in neutron:
importance: Undecided → High
Changed in neutron:
milestone: none → pike-rc1
Changed in neutron:
assignee: Zhengwei Gao (multi-task) → Kevin Benton (kevinbenton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/489999
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9e185bca08510ec831afdd75013bb3655d9a6e76
Submitter: Jenkins
Branch: master

commit 9e185bca08510ec831afdd75013bb3655d9a6e76
Author: Zhengwei Gao <multi_task@163.com>
Date: Wed Aug 2 20:05:20 2017 +0800

    Allow unprivileged users to get their quota usage

    When user try to get quota usage detail for their own project, it will
    return null. As process logic of details method is incorrect, it only
    allow admin to get other's project quota usage detail.

    Change-Id: I2e21dac497a6c5bffba6b55cb4456820900449df
    Closes-Bug: #1708133

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/493322

Changed in neutron:
milestone: pike-rc1 → pike-rc2
tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/pike)

Reviewed: https://review.openstack.org/493322
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d823ae297453ebb1a4397c6d6caa34f32a960876
Submitter: Jenkins
Branch: stable/pike

commit d823ae297453ebb1a4397c6d6caa34f32a960876
Author: Zhengwei Gao <multi_task@163.com>
Date: Wed Aug 2 20:05:20 2017 +0800

    Allow unprivileged users to get their quota usage

    When user try to get quota usage detail for their own project, it will
    return null. As process logic of details method is incorrect, it only
    allow admin to get other's project quota usage detail.

    Change-Id: I2e21dac497a6c5bffba6b55cb4456820900449df
    Closes-Bug: #1708133
    (cherry picked from commit 9e185bca08510ec831afdd75013bb3655d9a6e76)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0rc2

This issue was fixed in the openstack/neutron 11.0.0.0rc2 release candidate.

tags: removed: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 12.0.0.0b1

This issue was fixed in the openstack/neutron 12.0.0.0b1 development milestone.

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.