mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 05:19:25 +08:00
Add filter to search users by active (#38637)
* Add filter to search users by active * Fix query
This commit is contained in:
@ -138,12 +138,17 @@ type GetUserProfileQuery struct {
|
||||
Result UserProfileDTO
|
||||
}
|
||||
|
||||
type SearchUsersFilter string
|
||||
|
||||
const ActiveLast30Days SearchUsersFilter = "activeLast30Days"
|
||||
|
||||
type SearchUsersQuery struct {
|
||||
OrgId int64
|
||||
Query string
|
||||
Page int
|
||||
Limit int
|
||||
AuthModule string
|
||||
Filter SearchUsersFilter
|
||||
|
||||
IsDisabled *bool
|
||||
|
||||
|
Reference in New Issue
Block a user