c549325bd2
Everything that goes through the volumes view builder detail() method has a strict is_admin check on returning the migration_status parameter [1]. This means the migration_status parameter in the API reference should be optional since it's admin-only and not always shown. This fixes the v2 and v3 API references for showing, creating, updating, resetting the status of, and creating from a managed volume. As a result, the parameter for a required migration_status parameter is unused and removed. Note that there is no strict policy check on the migration_status request parameter when resetting a volume's status, but the action itself is admin-only by default using the volume_extension:volume_admin_actions:reset_status policy rule. [1] https://opendev.org/openstack/cinder/src/tag/14.0.0/cinder/api/v2/views/volumes.py#L94 Change-Id: I82308dc1a6aaf039b675a17e19747f11be574209 Closes-Bug: #1828113 |
||
---|---|---|
.. | ||
samples | ||
api-versions.inc | ||
capabilities-v2.inc | ||
consistencygroups-v2.inc | ||
ext-backups-actions-v2.inc | ||
ext-backups.inc | ||
hosts.inc | ||
index.rst | ||
limits.inc | ||
os-cgsnapshots-v2.inc | ||
os-vol-pool-v2.inc | ||
os-vol-transfer-v2.inc | ||
parameters.yaml | ||
qos-specs-v2-qos-specs.inc | ||
quota-classes.inc | ||
quota-sets.inc | ||
volume-manage.inc | ||
volume-type-access.inc | ||
volumes-v2-extensions.inc | ||
volumes-v2-snapshots-actions.inc | ||
volumes-v2-snapshots.inc | ||
volumes-v2-types.inc | ||
volumes-v2-versions.inc | ||
volumes-v2-volumes-actions.inc | ||
volumes-v2-volumes.inc |