RBAC: Remove workaround to check permissions on folders for dashboard actions (#50291)

* remove workaround to check permissions on folders for dashboard actions
This commit is contained in:
Karl Persson
2022-06-07 13:21:56 +02:00
committed by GitHub
parent 19df6d52b7
commit 9fd9a2cded
4 changed files with 4 additions and 104 deletions

View File

@@ -134,7 +134,6 @@ func ProvideDashboardPermissions(
return nil
},
InheritedScopePrefixes: []string{"folders:uid:"},
InheritedScopesSolver: func(ctx context.Context, orgID int64, resourceID string) ([]string, error) {
dashboard, err := getDashboard(ctx, orgID, resourceID)
if err != nil {