I am facing issue to build this logic in my application, can anyone help me how to achieve this scenario.
I have two public groups in my Org like Group A, Group B. I have two buttons in the record detail page like Button A, Button B.
Now 1.I need to give access of Button A for Group A users 2. I need to give access to Button A from Group B users and i need to disable the button B for this user group B
Both buttons are custom VF Page buttons . Can anyone help me , how to achieve this?