API filters by project id AND user ID

Bug #1521895 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
Medium
Julien Danjou
1.3
Fix Released
Medium
Julien Danjou

Bug Description

All users of a project should be able to see all things in the project, currently gnocchi filters by project id AND user ID.

Eg. as a user of a project I should be able to see all resources/metrics from that project not just my own. This is how all openstack APIs work.

Sam Morrison (sorrison)
description: updated
heha (zhanghanqun)
Changed in gnocchi:
assignee: nobody → heha (zhanghanqun)
Julien Danjou (jdanjou)
Changed in gnocchi:
status: New → Triaged
importance: Undecided → Medium
heha (zhanghanqun)
Changed in gnocchi:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to gnocchi (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in gnocchi:
assignee: heha (zhanghanqun) → Julien Danjou (jdanjou)
Changed in gnocchi:
assignee: Julien Danjou (jdanjou) → heha (zhanghanqun)
Changed in gnocchi:
assignee: heha (zhanghanqun) → Julien Danjou (jdanjou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

Reviewed: https://review.openstack.org/259765
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=396a93e7bdf246e5bbf19d43a49f21132969d8d8
Submitter: Jenkins
Branch: master

commit 396a93e7bdf246e5bbf19d43a49f21132969d8d8
Author: heha <email address hidden>
Date: Sun Dec 20 07:40:28 2015 -0500

    Resource list filtered by project_id or created_by user_id and project_id

    List some resources filtered by the project_id that you provide, and
    the resources that you have created.

    Change-Id: I30f473ea720835447da3282647d803305390941a
    Closes-Bug: #1520439
    Closes-Bug: #1521895

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

Fix proposed to branch: stable/1.3
Review: https://review.openstack.org/272434

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (stable/1.3)

Reviewed: https://review.openstack.org/272434
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=577b403e41c101f84b8916a28cb8d58e8950786a
Submitter: Jenkins
Branch: stable/1.3

commit 577b403e41c101f84b8916a28cb8d58e8950786a
Author: heha <email address hidden>
Date: Sun Dec 20 07:40:28 2015 -0500

    Resource list filtered by project_id or created_by user_id and project_id

    List some resources filtered by the project_id that you provide, and
    the resources that you have created.

    Change-Id: I30f473ea720835447da3282647d803305390941a
    Closes-Bug: #1520439
    Closes-Bug: #1521895
    (cherry picked from commit 396a93e7bdf246e5bbf19d43a49f21132969d8d8)

Julien Danjou (jdanjou)
Changed in gnocchi:
milestone: none → 2.0.0
status: Fix Committed → Fix Released
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.