Volume get transfer not supported by policy.json and code

Bug #1570903 reported by Doug Schveninger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Tin Lam

Bug Description

The transfer-show API calls cinder/transfer/api.py https://github.com/openstack/cinder/blob/master/cinder/transfer/api.py . The API.get method does not check with policy file and the policy.json file is missing "volume:get_transfer": "" action.

We need the policy.json file and the code to support applying this policy action.

Revision history for this message
Mitsuhiro Tanino (mitsuhiro-tanino) wrote :

I'll investigate above. Thanks.

Changed in cinder:
assignee: nobody → Mitsuhiro Tanino (mitsuhiro-tanino)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/306856

Changed in cinder:
assignee: Mitsuhiro Tanino (mitsuhiro-tanino) → Tin Lam (tl3438)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/306856
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=394ea5a61b39f65ff8fb69cc01d99dbb66a61a36
Submitter: Jenkins
Branch: master

commit 394ea5a61b39f65ff8fb69cc01d99dbb66a61a36
Author: Tin Lam <email address hidden>
Date: Sun Apr 17 07:13:51 2016 -0500

    Added 'volume:get_transfer' to policy.json file

    volume:get_transfer is not enforced by the cinder
    policy.json file

    Change-Id: I8631e3615be40b944539b14ac5eb2ed98ab266b5
    Closes-Bug: #1570903

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/cinder 9.0.0.0b1

This issue was fixed in the openstack/cinder 9.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.