disable for none admin
This commit is contained in:
parent
0b6369fdcb
commit
40cc2fbd0c
1 changed files with 10 additions and 8 deletions
|
@ -212,17 +212,19 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
|
||||||
|
|
||||||
if (user.Policy.EnableContentDownloading && appHost.supports('filedownload')) {
|
if (user.Policy.EnableContentDownloading && appHost.supports('filedownload')) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
name: Globalize.translate('ButtonDownload'),
|
name: Globalize.translate('ButtonDownload'),
|
||||||
id: 'download',
|
id: 'download',
|
||||||
ironIcon: 'file-download'
|
ironIcon: 'file-download'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
menuItems.push({
|
if (user.Policy.IsAdministrator) {
|
||||||
name: globalize.translate('GroupVersions'),
|
menuItems.push({
|
||||||
id: 'groupvideos',
|
name: globalize.translate('GroupVersions'),
|
||||||
ironIcon: 'call-merge'
|
id: 'groupvideos',
|
||||||
});
|
ironIcon: 'call-merge'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
name: globalize.translate('MarkPlayed'),
|
name: globalize.translate('MarkPlayed'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue