To prevent client use v2 patch api to handle file and swift location

Bug #1404059 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
New
Undecided
Unassigned

Bug Description

https://review.openstack.org/142788
commit 8bdb7ed9f5beaf816e7abba726904646bf3680dd
Author: Zhi Yan Liu <email address hidden>
Date: Mon Dec 15 12:29:55 2014 +0800

    To prevent client use v2 patch api to handle file and swift location

    The change will be used to restrict client to download and delete any
    file in glance-api server. The same resone and logic as what we did in
    v1:
    https://github.com/openstack/glance/blob/master/glance/api/v1/images.py#L429

    Closes-Bug: bug/1400966
    DocImpact

    Conflicts:
     glance/api/v1/images.py
     glance/common/store_utils.py
     glance/location.py
     glance/tests/functional/v1/test_copy_to_file.py
     glance/tests/functional/v2/test_images.py
     glance/tests/unit/test_store_image.py
     glance/tests/unit/test_store_location.py
     glance/tests/unit/utils.py
     glance/tests/unit/v1/test_api.py

    (cherry picked from commit 4afdb017aa1ccef01482f117cb8d0736a6da38ed)
    Signed-off-by: Zhi Yan Liu <email address hidden>
    Change-Id: I72dbead3cb2dcb87f52658ddb880e26880cc229b

Tags: glance
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.