mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashfolders: must have admin permission to save/see dash acl
This commit is contained in:
parent
5b6ee6f37b
commit
f7bbfeba28
@ -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({
|
this.sections.push({
|
||||||
title: "Permissions",
|
title: 'Permissions',
|
||||||
id: "permissions",
|
id: 'permissions',
|
||||||
icon: "fa fa-fw fa-lock"
|
icon: 'fa fa-fw fa-lock',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user