mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix collection permission check in context menu
This commit is contained in:
parent
daf6b44879
commit
b3c023f4fa
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ export function getCommands(options) {
|
|||
});
|
||||
}
|
||||
|
||||
if (itemHelper.supportsAddingToCollection(item) && options.EnableCollectionManagement) {
|
||||
if (itemHelper.supportsAddingToCollection(item) && (user.Policy.IsAdministrator || user.Policy.EnableCollectionManagement)) {
|
||||
commands.push({
|
||||
name: globalize.translate('AddToCollection'),
|
||||
id: 'addtocollection',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue