grafana/pkg/services/serviceaccounts/database
Jo d6c468c1c2
Auth: Add empty role definition (#64694)
* Allow setting role as None

Co-authored-by: gamab <gabi.mabs@gmail.com>

Seeking for places where role.None would be used

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

Adding None role to the frontend

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

unify org role declaration and remove from add permission

fix backend test

fix backend lint

* remove role none from frontend

* Simplify checks

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

* nits

---------

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
2023-07-06 15:40:06 +02:00
..
stats_test.go ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
stats.go ServiceAccounts: Collect usage stat for service account forced expiry (#64833) 2023-03-16 16:36:31 +01:00
store_test.go Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
store.go Service accounts: UI migration results (#68789) 2023-06-08 10:09:30 +02:00
token_store_test.go Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
token_store.go Service accounts: UI migration results (#68789) 2023-06-08 10:09:30 +02:00