Bug 1435773

Summary: entities under /api/policies collection are missing "delete" action with "DELETE" method
Product: Red Hat CloudForms Management Engine Reporter: Martin Kourim <mkourim>
Component: APIAssignee: Tim Wade <twade>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, jhardy, obarenbo, simaishi, twade
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: api:rest
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 13:11:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kourim 2017-03-24 17:52:06 UTC
Description of problem:
Entities under /api/policies collection have "delete" action with "POST" method available, but unlike entities in other collections they are missing "delete" action with "DELETE" method.


Version-Release number of selected component (if applicable):
5.8.0.7


How reproducible:
Very


Steps to Reproduce:
1. create policy
2. check under /api/policies/:id that there is not "delete" action with "DELETE" method available

Comment 2 Tim Wade 2017-04-26 16:29:32 UTC
PR: https://github.com/ManageIQ/manageiq/pull/14659

Comment 3 Martin Kourim 2017-10-13 13:03:11 UTC
Verified that the delete action with DELETE method is available for resources under the /api/policies collection.

Comment 6 errata-xmlrpc 2018-03-01 13:11:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380