Krishna Kumar

Krishna Kumar

  • NA
  • 135
  • 38.8k

How to Centrally Disable the needed buttons in a project

Apr 4 2018 3:37 AM
I have a project around 250 screens. In each screen there are multiple buttons like New, Save, Delete and close.

When a user login to the application we are giving the access privileges to the user for the navigation through the application.

Now we want to enable the access privilege to the user for the buttons also. Example an user can able to save the record but not able to delete it.
 
What is the best way to approach it globally . By using a function. Right now, we are writing the privileges in each and every page to disable the button. 

Answers (2)