You have to filter the datasource based on user rights.
Consider the below options...
Options |
---|
Add Data |
Edit Data |
View Data |
Delete Data |
Print Data |
User Type |
---|
Admin User |
Normal User |
If the user is
Admin User then allow all options. If the user
Normal User then restrict some options(Like Delete, Print) so filter the datasource.
Options (For Normal User) |
---|
Add Data |
Edit Data |
View Data |
For your information, check this Tip/Trick
Database Driven Dynamic Menu Control[
^]