Description
When we implemented cinder policies api sync the enforcement action was unavailable via the API response - only the name and uuid was exposed. Because of this we required AMO operations admin to manually set some enforcement actions (default_cinder_action) to make some reviewer tools functionality work. Now this is exposed via their API we can skip this manual setup.
Things to note though:
- there can be multiple enforcement actions
- some reviewer tools functionality may only expect
default_cinder_action to be set on certain policies - we will need to check something doesn't break in unexpected ways.
Acceptance Criteria
### Milestones/checkpoints
- [ ] enforcement_action list saved to AMO CinderPolicy model instances
- [ ] these enforcement actions are used instead of manually defined `default_cinder_action` property
Checks
┆Issue is synchronized with this Jira Task
Description
When we implemented cinder policies api sync the enforcement action was unavailable via the API response - only the name and uuid was exposed. Because of this we required AMO operations admin to manually set some enforcement actions (
default_cinder_action) to make some reviewer tools functionality work. Now this is exposed via their API we can skip this manual setup.Things to note though:
default_cinder_actionto be set on certain policies - we will need to check something doesn't break in unexpected ways.Acceptance Criteria
Checks
┆Issue is synchronized with this Jira Task