summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-08-05 10:57:13 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-08-05 10:57:51 +0200
commit41cca70a63eea6bb07565f2e4f3e68f8218eac78 (patch)
tree3d0032ec5565f2957165b1863ab4ac66ff39b970 /core/js/config.php
parentc0e78d984140ecd6a49ac615214b4a68fab0557e (diff)
downloadnextcloud-server-41cca70a63eea6bb07565f2e4f3e68f8218eac78.tar.gz
nextcloud-server-41cca70a63eea6bb07565f2e4f3e68f8218eac78.zip
don't display share permission if resharing was disabled by the admin
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/config.php b/core/js/config.php
index 0ab74d2949e..b61694522db 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -83,6 +83,7 @@ $array = array(
'defaultExpireDateEnforced' => $enforceDefaultExpireDate,
'enforcePasswordForPublicLink' => \OCP\Util::isPublicLinkPasswordRequired(),
'sharingDisabledForUser' => \OCP\Util::isSharingDisabledForUser(),
+ 'resharingAllowed' => \OCP\Share::isResharingAllowed(),
)
)
),