mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user