Bug 1437925

Summary: Policy to prevent a host scan request did not work
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ControlAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jhardy, nansari, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1437910 Environment:
Last Closed: 2017-06-28 14:59:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1437910    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-17 15:45:58 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/e6539046754955a7d65f7d8c74cdc8fbf55b6c06

commit e6539046754955a7d65f7d8c74cdc8fbf55b6c06
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Mar 30 14:39:54 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Apr 17 11:42:55 2017 -0400

    Merge pull request #14427 from lfu/prevent_request_host_scan
    
    Add policy checking for request_host_scan.
    (cherry picked from commit 5e9e1c74b65003560351a1b1ab28513da8c2941c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1437925

 app/models/host.rb       | 19 +++++++------------
 spec/models/host_spec.rb | 30 ++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 12 deletions(-)

Comment 3 Niyaz Akhtar Ansari 2017-06-12 05:57:47 UTC
It works fine.
Verified in Version 5.7.3.1.20170608124102_4b35a9e

Comment 5 errata-xmlrpc 2017-06-28 14:59:04 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-2017:1601