grafana/pkg/services/user/userimpl
Gabriel MABILLE 96cbe70b14
User: Support sort query param for user and org user, search endpoints (#75229)
* User: Add sort option to user search

* Switch to an approach that uses the dashboard search options

* Cable user sort on the org endpoint

* Alias user table with u in org store

* Add test and cover orgs/:orgID/users/search endpoint

* Add test to userimpl store

* Simplify the store_test with sortopts.ParseSortQueryParam

* Account for PR feedback

* Positive check

* Update docs

* Update docs

* Switch to ErrOrFallback

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-09-28 10:16:18 +02:00
..
store_test.go User: Support sort query param for user and org user, search endpoints (#75229) 2023-09-28 10:16:18 +02:00
store.go User: Support sort query param for user and org user, search endpoints (#75229) 2023-09-28 10:16:18 +02:00
time.go chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 2022-12-07 11:03:22 -05:00
user_test.go Auth: Add empty role usage metrics for service and user accounts (#73108) 2023-08-16 10:56:47 +02:00
user.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00