mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-24334] Include role filtering in ES search (#14465)
* ES supports role filtering for users - Added roles field for ES user index - Include role filtering logic in ES
This commit is contained in:
committed by
GitHub
parent
e2e352e223
commit
bec2f366a7
@@ -1527,6 +1527,7 @@ func (us SqlUserStore) GetUsersBatchForIndexing(startTime, endTime int64, limit
|
||||
Nickname: user.Nickname,
|
||||
FirstName: user.FirstName,
|
||||
LastName: user.LastName,
|
||||
Roles: user.Roles,
|
||||
CreateAt: user.CreateAt,
|
||||
DeleteAt: user.DeleteAt,
|
||||
TeamsIds: []string{},
|
||||
|
||||
Reference in New Issue
Block a user