SAP Knowledge Base Article - Public

2646054 - Role-Based Permissions take preference over field level visibility

Symptom

The visibility of a field (e.g Job Title) has been set to 'visibility = view' under manage business configuration (or Succession Data Model XML) but it still appears as editable (e.g in Job Information).

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

1. Navigate to Manage Business Configuration and locate the field for which you would like to set the visibility = view. 
2. Click on 'details' next to the field, set visibility to view and save.
3. Navigate to this field in the UI and see that the field is still editable

Field visibility can also be set in the Succession Data Model.

Cause

Role-Based Permissions for editing a field will take precedence over field level visibility (view); as such, if a permission role has granted a user edit permissions for a field it will appear as editable in the UI.

If a field is set as editable but only view permissions are provided, the end user will see the field as read only.

Resolution

Using User Role Search we can find which role is granting the user edit permissions for a field that should be view only. If it is a requirement that the field should be view only, edit permissions can be removed.

Keywords

Field Visibility, View, Edit, Role Based Permissions, Field Editable , KBA , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM all versions