I am trying to provide write access to two different roles on mutually exclusive group of fields. For example, I have created a DocType TestUser containing First Name, Last Name, Email, Mobile fields. There are two roles, say Manager and CEO. First Name and Last Name are assigned level 0 and Email and Mobile are assigned level 1. In Role Permission Manager below is the permission given
LEVEL 0 FIELDS - First Name, Last Name
LEVEL 1 FIELDS - Email, Mobile
LEVEL 0 - MANAGER ROLE - READ & WRITE AND CREATE
LEVEL 1 - MANAGER ROLE - READ
LEVEL 0 - CEO ROLE - READ
LEVEL 1 - CEO ROLE - READ & WRITE
Manager is able to create, update and save different records as per permissions, but for CEO level 1 fields are editable and level 0 fields are read-only as expected, but I am unable to save the details entered by CEO. Is this expected? Is there any way to achieve this use case? I am using ERPNext: v13.10.2.