It’s need to forbid to edit some fields for certain user by using role.
User can edit not all fields, only definite.
But in “Role” exist only whole actions: list, edit, etc.
So we need programmatically disable some fields in the time of viewing of certain user?
Please give a hint - in what file of the module: controller.php, views/view.edit.php?
And please example of the code
Thank you!