grafana/pkg/cmd/grafana-cli
Gabriel MABILLE 846eadff63
RBAC Search: Replace userLogin filter by namespacedID filter (#81810)
* Add namespace ID

* Refactor and add tests

* Rename maxOneOption -> atMostOneOption

* Add ToDo

* Remove UserLogin & UserID for NamespaceID

Co-authored-by: jguer <joao.guerreiro@grafana.com>

* Remove unecessary import of the userSvc

* Update pkg/services/accesscontrol/acimpl/service.go

* fix 1 -> userID

* Update pkg/services/accesscontrol/accesscontrol.go

---------

Co-authored-by: jguer <joao.guerreiro@grafana.com>
2024-02-16 11:42:36 +01:00
..
commands RBAC Search: Replace userLogin filter by namespacedID filter (#81810) 2024-02-16 11:42:36 +01:00
logger Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models Remove ioutil.ReadDir from usage (#53550) 2022-08-11 07:21:12 -04:00
runner Chore: Unite wire graphs for cli and server (#61143) 2023-03-17 16:36:39 +01:00
services Bug: Fix loading behavior with FlagExternalCorePlugins (#78388) 2023-11-21 11:51:13 +01:00
utils Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
main.go Server: Switch from separate server & cli to a unified grafana binary (#58286) 2022-11-22 11:53:43 -05:00