Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1502304 - [RFE] Show buttons only if certain condition exists (Button Filtering)
[RFE] Show buttons only if certain condition exists (Button Filtering)
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - Service (Show other bugs)
5.8.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.9.0
Assigned To: Ohad Levy
Anurag
: FutureFeature, RFE
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-15 11:01 EDT by Loic Avenel
Modified: 2018-03-01 08:19 EST (History)
5 users (show)

See Also:
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 08:19:54 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screenshot (70.21 KB, image/png)
2017-11-28 02:02 EST, Anurag
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Loic Avenel 2017-10-15 11:01:31 EDT
Description of problem: As a user, I only want to see buttons if certain condition exist (Button Filtering)
Comment 2 Dave Johnson 2017-10-15 11:03:40 EDT
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.
Comment 3 Chris Kacerguis 2017-10-15 11:52:44 EDT
This is a function of the API (as it will only return the buttons that are needed).  However, in discussion of this, we wanted to add a 3rd state of disabled.  Here is the PR for that - https://github.com/ManageIQ/manageiq-ui-service/pull/1012
Comment 4 Dave Johnson 2017-11-15 00:22:03 EST
Aziza, please work with Shveta on this one please.
Comment 5 Aziza Karol 2017-11-21 05:15:20 EST
Assigning it to Anurag as it is API related.
Comment 6 Anurag 2017-11-28 02:02 EST
Created attachment 1359689 [details]
Screenshot

Hello Team,

This feature is working fine, verified on version: Version: 5.9.0.9.20171115202245_7429f75. Thanks for working on this enhancement feature :)

Thanks
-Anurag Sinha
Comment 7 Anurag 2017-11-28 02:26:09 EST
Steps used for verification:
1.Create a custom button (Unassigned Button) for services
2.Provide an Enablement expression for disabling the custom button. (e.g: COUNT OF Service.VMs > 5000 )
3.Add "Disabled Button Text"
4.Click on save
5.Login on to SSUI page
6.Goto Service and check the button is disabled
7.Hover over button to check the disable text.

Hence the changing the state from on_qa to verified.
Comment 11 errata-xmlrpc 2018-03-01 08:19:54 EST
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

Note You need to log in before you can comment on or make changes to this bug.