i have a mvc application and i need set permission insert, update, delete operation in all forms(pages).
i have 3 types of users 1)superadmin 2)admin 3)user
and 1)superadmin can edit,delete ,add the form i mean he can able do all crud operations(All rights)
2) admin add(insert) and view in the form
3) user view in the form (have rights for only view the grid and view detail)
so I need to put permission.
(guess : filter can solve this problem)
how to implement this scenario.
please help???