1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

require admin for identify feature

This commit is contained in:
Luke Pulverenti 2015-12-18 12:29:04 -05:00
parent 9bf305cace
commit 18c5fce864

View file

@ -810,8 +810,11 @@
item.Type == "MusicAlbum" || item.Type == "MusicAlbum" ||
item.Type == "MusicArtist") { item.Type == "MusicArtist") {
if (user.Policy.IsAdministrator) {
commands.push('identify'); commands.push('identify');
} }
}
return commands; return commands;
}, },