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

This commit is contained in:
Johannes Schill 2019-02-12 14:29:27 +01:00
parent e5759fa0ed
commit 335042b2d0

View File

@ -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.canDelete = this.dashboard.meta.canSave;