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,7 +810,10 @@
item.Type == "MusicAlbum" ||
item.Type == "MusicArtist") {
commands.push('identify');
if (user.Policy.IsAdministrator) {
commands.push('identify');
}
}
return commands;