mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
RBAC: Update permission query to not join on team table (#53677)
* RBAC: Add teamIDs to get permission query * RBAC: Remove join on team table and use team ids * RBAC: Pass team ids
This commit is contained in:
@@ -211,6 +211,7 @@ type GetUserPermissionsQuery struct {
|
||||
UserID int64 `json:"userId"`
|
||||
Roles []string
|
||||
Actions []string
|
||||
TeamIDs []int64
|
||||
}
|
||||
|
||||
// ScopeParams holds the parameters used to fill in scope templates
|
||||
|
||||
Reference in New Issue
Block a user