I have a permission set that allows only assigned users to perform an "Unlock" action on a locked Order. So there is a custom button on the Order page that says "Unlock Order". That button executes a FLOW to unlock the order.
However, I only want certain users to be able to unlock Orders.
Currently unauthorized users sometimes click on the button, and then they get an error and we admins get an error email. Waste of all of our time.
So only users that have the permission set assigned should be able to see that button.
Is there any way to make the button only visible on the Lightning page layout to users with the permission set assigned?
All help greatly appreciated!
Hi @Chris Uttley,
You can do that by upgrading your highlight panel on Lightning record page to Dynamic and then set conditional visibility on the button based on the permission set.
Check the attached screenshots.
Please mark as the best answer if this resolves your issue.
Thanks,
Milos