I have build a website which is basically a data driven website.
Till now this website was having one set of users with all rights (Add,edit,delete).
Now i want to implement a new functionality in which there are different group of users with different rights such as
a) Only view - only able to view the data , but not update,insert, delete data i.e. to have update,insert,delete buttons in disabled state.
b) Full rights - Able to perform any type of operation in this case user can insert, update , delete records.
in case a) i want that buttons on every page of website to be in disabled state
My question is that how to achieve this in best way using OOPS.
I do not want to write logic on every page to disable button control by reading user status information.
Any help will be greatly appreciated.
...
Go to the complete details ...