Restricting access to Flow actions using privilege has issues
We have a flow action which we want to restrict to certain users only. For this we have added a privilege to the flow action and added the privilege in the Access Role of the appropriate users. Now what is happening is, if an unauthorized user is trying to open any such assignment, then the case-wide or flow-wide local actions are showing up for the user since the flow action is not accesible. We want the user to see a "You are not authorized" message on screen like it usiually happens when a user is not authorized to access a flow action.