grafana/pkg/services/serviceaccounts
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
..
api Service accounts: UI migration results (#68789) 2023-06-08 10:09:30 +02:00
database Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
manager Service accounts: UI migration results (#68789) 2023-06-08 10:09:30 +02:00
retriever Auth: Service account store refactor (#58961) 2022-12-13 14:56:10 +01:00
secretscan Errors: Remove direct dependencies on github.com/pkg/errors (#64026) 2023-03-02 16:28:10 +01:00
tests AuthN: Embed an OAuth2 server for external service authentication (#68086) 2023-05-25 15:38:30 +02:00
models.go Service accounts: API key migration refactoring to parse as json object of the results (#69771) 2023-06-08 12:12:26 +02:00
serviceaccounts.go Chore: Remove Result field from serviceaccounts, ualert (#62476) 2023-01-31 09:51:55 +01:00