There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-097acfa8-4722-4b78-b302-564c37276d9d XWIKI-18766 Closed

The displayer for the "List of users" property suggests disabled users

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-36b0c44f-4813-463e-a94b-f56c141180bd Vincent Massol on 02/Jul/26 17:56
 

Important note:

Work left to do (follow-ups, out of scope of this issue):

  • Other user displayers: the general-purpose user picker (uorgsuggest.vm + suggestUsersAndGroups.js) used outside XClass properties (e.g. rights, group membership, mentions) still suggests inactive users and has no equivalent option. It is a separate widget/code path and should be addressed in its own issue.
  • Other display modes of the "List of Users" property: this PR only covers the picker/suggest path (REST class-property-values, DefaultUsersQueryBuilder). The non-picker display types (select/radio/checkbox, backed by UsersClass#getList()/getMap() via XWikiGroupService#getAllMatchedUsers) still list all users, including disabled ones. Making those consistent requires threading the filter through the group-service API and is left for a follow-up.