Bug 1389660

Summary: [RFE] Extend custom buttons visibility criteria
Product: Red Hat CloudForms Management Engine Reporter: Fabien Dupont <fdupont>
Component: AutomateAssignee: lgalis
Status: CLOSED ERRATA QA Contact: Yadnyawalk Tale <ytale>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cbolz, dclarizi, greartes, jhardy, kkulkarn, ltsai, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: FutureFeature, RFE
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:07:41 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:
Bug Depends On:    
Bug Blocks: 1480786    

Description Fabien Dupont 2016-10-28 06:51:32 UTC
Description of problem:
As a service catalog adminsitrator, I want to be able to set custom buttons (Atuomate > Customization > Buttons) visibility by more criteria than role.

An example use case, is integration with third party tools: the integration of NSX has no meaning in the context of a RHEV provider, or a vCenter provider where NSX is not deployed. Thus, I need to be able to limit visibility based on Provider subtype (VMware) AND tags (NSX_Enabled = true). The visibility has to be a mix of multiple criteria.

This feature would be key to create a better user experience.

Version-Release number of selected component (if applicable): 5.7.0.7-beta1.20161025153249_9376fbd


How reproducible:


Steps to Reproduce:
1. Create a button : Automate > Customization > Buttons

Actual results:
In "Visibility", the dropdown only proposes "To All" and "By Role"

Expected results:
Additional criteria are available: provider subtype, tags...

Additional info:

Comment 7 Kedar Kulkarni 2017-10-11 20:22:05 UTC
Verified for 5.9.0.2 with Expression editor, created a button that's visible with expression Power state = on for the VMs.

Comment 10 errata-xmlrpc 2018-03-01 13:07:41 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