diff options
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index c19440b8209..ec09ec1bb8c 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -721,7 +721,7 @@ icon: function(_filename, _context) { return OC.imagePath('files_reminders', 'alarm.svg') }, - permissions: OC.PERMISSION_READ, + permissions: $('#isPublic').val() ? null : OC.PERMISSION_READ, actionHandler: function(_filename, _context) {}, }); } |