Description
User Roles-type fields aren't accessible/selectable by non-admin users from Condition Builder. Therefore, if there is a default filter with User Roles field for a list, non-admin users experience unexpected behaviors.
-
Related List – Filter is displayed incorrectly. Result set doesn't meet the filter condition.
-
Regular List – Filter is displayed incorrectly. Result set is populated correctly.
Steps to Reproduce
1. Go to a group record, for example, Database.
<instancename>/nav_to.do?uri=sys_user_group.do?sys_id=287ee6fea9fe198100ada7950d0b1b73
2. Scroll down to Group Members related list. Right-click in the list header. Choose Configure > List Control.
3. If missing, add Edit Default Filter field to the form layout from Configure > Form Layout.
4. Set the filter as "Roles Is itil". Click Save
5. Impersonate a non-admin user who has the user_admin role, for example, Bette Barcelona,
6. Go to a group record, for example, Database.
<instancename>/nav_to.do?uri=sys_user_group.do?sys_id=287ee6fea9fe198100ada7950d0b1b73
7- Scroll down to Group Members related list. Click Edit.
Actual behavior:
Filter gets displayed as "Keywords Are itil"
Result set gets populated incorrectly
Expected behavior: (and also the actual behavior for admin users)
Filter gets displayed as "Roles Is itil"
Result set gets populated correctly
Workaround
Related Problem: PRB1296807