Approve UI Action does not show up on Demand record for demand managers



Approve UI Action on demand form only shows up for Admin.


Jakarta Patch 8a


There was a modified the OOB UI action by adding a custom condition in the UI Action. 


Only admins and demand managers were permitted to see the approve ui action. 

OOB it has gs.has.Role('demand_manager') as a condition for the UI action. 

You can use the same syntax to add an OR (||) condition for admin role as well gs.has.Role('admin')

The above changed worked and the demand managers along with admins were able to see the approve UI Action.