Field level access of a model in asp.net mvc 4 -
i have requirement this,
making fields in model read or write basing on different roles
suppose in model have 15 fields
user1 role1 can edit {fields 1 5; can view(read only) fields 6 15 } and
user2 role2 can edit {fields 4 ,5,6; can view(read only) fields 1 3 , 7 15}
i googled lot not find solution
i found link http://www.codeproject.com/tips/403921/field-based-security-in-asp-net-mvc-3-for-differen
but using articles have create edit templates different controls make read / write
this 1 of major task in project.
do have solution this.
thanks, vijay
Comments
Post a Comment