mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
permission: fix user with org viewer save/move permissions
User with org viewer role should not be able to save/move dashboards in/to general folder.
This commit is contained in:
@@ -51,6 +51,7 @@ func TestDashboardService(t *testing.T) {
|
||||
})
|
||||
|
||||
bus.AddHandler("test", func(cmd *models.ValidateDashboardBeforeSaveCommand) error {
|
||||
cmd.Result = &models.ValidateDashboardBeforeSaveResult{}
|
||||
return nil
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user