Access control: hide team role picker if user doesn't have access to it (#45068) (#45095)

* hide team role column

* hide or disable the role picker as needed

* add SWL filtering for role listing

(cherry picked from commit 4f4b1cb5ea)

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-02-08 17:55:02 +01:00
committed by GitHub
co-authored by Ieva
parent da3c22d3be
commit 66f9e505e7
3 changed files with 21 additions and 3 deletions
+1
View File
@@ -11,6 +11,7 @@ import (
var sqlIDAcceptList = map[string]struct{}{
"org_user.user_id": {},
"role.id": {},
}
var (