summaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-04-23 20:20:56 +0200
committerRobin Appelman <robin@icewind.nl>2021-05-12 16:11:31 +0200
commit0e6321957df6635d43ad07d7add23b1cea581fc0 (patch)
tree0e0e448f515cd778b6f08e7140abf742a3e11e3a /apps/settings/templates
parentb1dca57a1ce59bacc4089761275e4366e9760313 (diff)
downloadnextcloud-server-0e6321957df6635d43ad07d7add23b1cea581fc0.tar.gz
nextcloud-server-0e6321957df6635d43ad07d7add23b1cea581fc0.zip
allow excluding groups from creating link shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/admin/sharing.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/admin/sharing.php b/apps/settings/templates/settings/admin/sharing.php
index 4bb2ddca7d9..9b562cface6 100644
--- a/apps/settings/templates/settings/admin/sharing.php
+++ b/apps/settings/templates/settings/admin/sharing.php
@@ -138,6 +138,14 @@
<p class="<?php if ($_['shareAPIEnabled'] === 'no') {
p('hidden');
}?>">
+ <p class="indent">
+ <?php p($l->t('Exclude groups from creating link shares:'));?>
+ </p>
+ <p id="selectLinksExcludedGroups" class="indent <?php if ($_['allowLinks'] === 'no') {
+ p('hidden');
+} ?>">
+ <input name="shareapi_allow_links_exclude_groups" type="hidden" id="linksExcludedGroups" value="<?php p($_['allowLinksExcludeGroups']) ?>" style="width: 400px" class="noJSAutoUpdate"/>
+ </p>
<input type="checkbox" name="shareapi_allow_resharing" id="allowResharing" class="checkbox"
value="1" <?php if ($_['allowResharing'] === 'yes') {
print_unescaped('checked="checked"');
@@ -176,7 +184,7 @@
} ?>">
<input name="shareapi_exclude_groups_list" type="hidden" id="excludedGroups" value="<?php p($_['shareExcludedGroupsList']) ?>" style="width: 400px" class="noJSAutoUpdate"/>
<br />
- <em><?php p($l->t('These groups will still be able to receive shares, but not to initiate them.')); ?></em>
+ <em><?php p($l->t('These groups will still be able to receive shares, but not to initiate them.')); ?></em>
</p>
<p class="<?php if ($_['shareAPIEnabled'] === 'no') {