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

update resource loading

This commit is contained in:
Luke Pulverenti 2016-07-21 17:23:34 -04:00
parent 3838831828
commit 13838f9d76
3 changed files with 17 additions and 64 deletions

View file

@ -117,6 +117,15 @@ define(['apphost'], function (appHost) {
canEditImages: function (user, itemType) {
if (itemType == 'UserView') {
if (user.Policy.IsAdministrator) {
return true;
}
return false;
}
return itemType != 'Timer' && canEdit(user, itemType);
},