How can I allow only specific users to click a button?

I’d like to have a special admin actions which I’d like to restrict only to specific users. What is the best way to do it?

Hello and welcome to our community!
Granular Access Control, which is a feature of our Business Edition, allows you to achieve this.

If you are interested in our Business Edition, please consider filling out the form from the link - Appsmith Enterprise Pricing - Business Edition

For pricing details, please visit - Pay for what you use, capped at $20/user/month

RBAC, of course, gives you complete control of everything and restricts permissions/access to different entities. For this particular scenario, you can also hide/disable the button by matching their email. So in the example below, only that user can click the button.