Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow partial POST edits on miq policy REST
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1435777 policies API (MiqPolicy) should allow partial POST edits e.g POST localhost:3000/api/policies/1000000000007 { "action": "edit", "description": "Desc bar" } In addition the current error message is wrong as it is about creation not edit: { "error": { "kind": "bad_request", "message": "Resource conditions_ids, policy_contents needs be specified for creating a new policies", "klass": "Api::BadRequestError" } }
- Loading branch information