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
1 file changed