Demo using custom perms to control button access
Install Instructions
- download repo as zip file (button to the right >)
- upload zip using workbench into org
- assign the CustomPermDemo permset to your user (grants access to Apex class and VF page)
- assign custom permission permsets to user which will grant access to 1 or both buttons
Demo Info
Navigate to page: `https://login.salesforce.com/apex/CustomPermPage`
1) buttons will only show if user has custom perms assigned
2) button will only successfully "click" if ButtonX_Click custom perm assigned