Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2016-10-11 10:30:20 +0300
committerPranav Kant <pranavk@collabora.co.uk>2016-10-11 10:51:35 +0300
commitc24c5a04396f452e1a9be1fa5c304fb5597b684e (patch)
treed60d4ab81c9194f3d4144abbd7fc7cae36448b12 /templates
parent11741054021c42072362c23a7fd2868be56be10b (diff)
Only allow users to edit documents if part of edit groups
If edit group setting is not set in Collabora Online settings, then allow all users.
Diffstat (limited to 'templates')
-rw-r--r--templates/documents.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/documents.php b/templates/documents.php
index 2019fbae..75594590 100644
--- a/templates/documents.php
+++ b/templates/documents.php
@@ -52,3 +52,4 @@ script('files', 'jquery.fileupload');
<input type="hidden" id="previews_enabled" value="<?php p($_['enable_previews']) ?>" />
<?php endif; ?>
<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" />
+<input type="hidden" name="edit_groups" id="edit_groups" value="<?php p($_['edit_groups']) ?>" />