dashfolders: must have admin permission to save/see dash acl

This commit is contained in:
Daniel Lee 2017-12-20 14:40:51 +01:00
parent 5b6ee6f37b
commit f7bbfeba28

View File

@ -68,11 +68,11 @@ export class SettingsCtrl {
});
}
if (this.dashboard.id && this.dashboard.meta.canSave) {
if (this.dashboard.id && this.dashboard.meta.canAdmin) {
this.sections.push({
title: "Permissions",
id: "permissions",
icon: "fa fa-fw fa-lock"
title: 'Permissions',
id: 'permissions',
icon: 'fa fa-fw fa-lock',
});
}