When a user with specific security role try to modify values on the form apart from couple of fields which are to be excluded, CRM should not allow it. I am using pre-operation update plugin for this. I am getting the security role in the plugin as expected. However, I am facing issue writing the condition for certain fields(7) to updated fine but if any other fields for the context are updated throw alert.
The reason I am using plugin is to be able to apply same restrictions when required user try to modify data for the entity via bulk edit or import.
Please suggest.