Description of problem:
When there is a visibility expression on a button, it is never displayed in SSUI and no matter what does the enablement expression return if set, it is always enabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a button, eg. for Service in this case. Set the visibility and enablement expression to eg. some tags.
2. Create a service
3. Go to the Self Service UI, select the service and look for the button and its status
4. Repeat 3 with setting and unsetting the appropriate tags and also removing either or both of the expressions
When the visibility expression is set, the button is always hidden no matter what is the outcome of it.
Enablement expression seems to have no effect on the buttons as once they are visible, they are clickable.
Buttons displayed exactly like in the Classic UI.
GH PR - https://github.com/ManageIQ/manageiq-ui-service/pull/1239
*** Bug 1534025 has been marked as a duplicate of this bug. ***