commit | 53530ad8a027523d50c4921fc228d974075318ec | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Tue Nov 07 03:36:30 2017 +0000 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Tue Nov 07 03:39:31 2017 +0000 |
tree | 8e33c9ae15ad81c0422281d3dd2c99997a839a1d | |
parent | 38f344bb525a45e9bc299de522d4e687f1076c2f [diff] |
Correct policy action for attach/detach volume actions This PS corrects the policy action for attach and detach volume actions. There are a few policy actions that currently have the wrong name. This PS is a pre-requsite for removing strict_policy_enforce Patrole configuration option in order to avoid false positives (e.g. a non-existent policy action being validated against an API). The os-attach volume actions actually enforces "volume_extension:volume_actions:attach" and os-detach actually enforces "volume_extension:volume_actions:detach" [0]. [0] https://github.com/openstack/cinder/blob/ae7355c1f8d5d137bfb8bdf7b521ff5519cc20f8/cinder/policies/volume_actions.py#L224 Change-Id: I7d0c99ffb197832182e8f7b2af952f94acd29b0d