require admin for refresh button

This commit is contained in:
Luke Pulverenti 2015-12-18 12:33:02 -05:00
parent 18c5fce864
commit 61453eb0cc

View File

@ -784,7 +784,10 @@
commands.push('editimages');
}
commands.push('refresh');
if (user.Policy.IsAdministrator) {
commands.push('refresh');
}
if (SyncManager.isAvailable(item, user)) {
commands.push('sync');