grafana/pkg/services/org
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
..
orgimpl Chore: Differentiate the ErrOrgNotFound error messages (#64131) 2023-03-06 09:57:46 +02:00
orgtest Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00
model.go Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
org.go Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00