summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-09-08 17:02:22 +0200
committerGitHub <noreply@github.com>2023-09-08 17:02:22 +0200
commita1130be0e32d4b300fb5b13a78486885f684fe7a (patch)
tree261353f2eba89e97d764e0387c3fd46241f1623f
parent9cccc03d7496da8a7612536c9ce92edcc1618d73 (diff)
parent9a4f2f1782ec039c51df7b6f8fa9618677c40bd6 (diff)
downloadnextcloud-server-a1130be0e32d4b300fb5b13a78486885f684fe7a.tar.gz
nextcloud-server-a1130be0e32d4b300fb5b13a78486885f684fe7a.zip
Merge pull request #40342 from nextcloud/backport/40341/stable27
[stable27] fix: Hide set reminder action on public shares
-rw-r--r--apps/files/js/fileactions.js2
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) {},
});
}