mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Merge pull request #410 from grafixeyehero/groupversion
Disable Group versions for non admin
This commit is contained in:
commit
cfb67bb5d1
@ -218,11 +218,13 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (user.Policy.IsAdministrator) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
name: globalize.translate('GroupVersions'),
|
name: globalize.translate('GroupVersions'),
|
||||||
id: 'groupvideos',
|
id: 'groupvideos',
|
||||||
ironIcon: 'call-merge'
|
ironIcon: 'call-merge'
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
name: globalize.translate('MarkPlayed'),
|
name: globalize.translate('MarkPlayed'),
|
||||||
|
Loading…
Reference in New Issue
Block a user