SAP Knowledge Base Article - Public

2334925 - Custom field in position can be edited even after field level overrides permission is set to Read Only - Employee Central

Symptom

Custom field in position can be edited even after field level overrides permission is set to Read Only

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

Environment

  • SAP SuccessFactors Employee Central
  • Metadata Framework
  • Role-Based Permission

Reproducing the Issue

  1.  The employee has a permission role, in which permissions on a custom field of an MDF Object have a Field Level Override (Example below using a custom field called "Country")FieldLevel.png
  2. Navigate to the Position, and try to Edit this custom Field

AbleToEdit.png

Result: You can Edit the custom field and save it.

Cause

The Custom field created is based on the values from the MDF Object. In my example, I created the object based on the  MDF Object 'Country

MDFCountry.png

The system logic is that if an object is using the 'Valid Values Source', and the role has permissions to the MDF Object that is being referenced, then the user will also have permissions to the child object that is referencing the parent object

In this example showed the "Country" field is not controlled by any permission, then it is editable:

ValidValues.png

Resolution

  1. Restrict the MDF Object that is being used (Country on this example)
    RestrisctPermission.png
  2. Now the field level override permission will work on the field.

Note: If you need to provide the permission to edit the Country field to certain roles, then you have to provide the permission in the RBP -> Miscellaneous Permission. Sample screen shot is shown below:
CountryPermission.png

Keywords

Position, Custom Generic object field in MDF Object, successfactors, Success Factors, EC, SFEC, SF EC , KBA , LOD-SF-EC-POS-RBP , Position Role-Based Permissions & Target Groups , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , Problem

Product

SAP SuccessFactors Employee Central all versions