For the Activate/Deactivate Buttons users currently who have user level write access to a record can deactivate those records. When attempting to deactivate a record that is not theirs a standard message indicating they do not have privileges appears.
This makes sense however we have a requirement to only allow certain security roles to have any ability to deactivate/activate records. Therefore a typical user with user level write access should not be allowed to deactivate a record, even one they own. It appears the button can be hidden based on entity privilege roles, however, requirements are to still show the button but have a custom error message appear. Can this be done? If so, if the user attempts to deactivate a record that does belong to them, would it trigger the custom message and the standard out of the box message? Can it be hidden or not used?
Robert