Commit 335042b2 by Johannes Schill

fix: No need to have edit permissions to be able to "Save as" a dashboard

parent e5759fa0
...@@ -38,7 +38,7 @@ export class SettingsCtrl { ...@@ -38,7 +38,7 @@ export class SettingsCtrl {
}); });
}); });
this.canSaveAs = this.dashboard.meta.canEdit && contextSrv.hasEditPermissionInFolders; this.canSaveAs = contextSrv.hasEditPermissionInFolders;
this.canSave = this.dashboard.meta.canSave; this.canSave = this.dashboard.meta.canSave;
this.canDelete = this.dashboard.meta.canSave; this.canDelete = this.dashboard.meta.canSave;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment