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

* hide team role column

* hide or disable the role picker as needed

* add SWL filtering for role listing
This commit is contained in:
Ieva
2022-02-08 16:38:13 +00:00
committed by GitHub
parent 4e38ac9cf7
commit 4f4b1cb5ea
3 changed files with 21 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ import (
var sqlIDAcceptList = map[string]struct{}{
"org_user.user_id": {},
"role.id": {},
}
var (