summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-15 12:26:43 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-15 12:26:43 +0100
commitd8867f7692aae2cc5bb2ffaf00c53c9e77c61faf (patch)
tree52ca2bc073de23b16021e8bf1d54496da74b7980 /settings
parent64fb3c060620d099b7b9e8c7786aa50fc8be6dc5 (diff)
parente3a08584440b071e1caae7c7ff4f404c38b8794b (diff)
downloadnextcloud-server-d8867f7692aae2cc5bb2ffaf00c53c9e77c61faf.tar.gz
nextcloud-server-d8867f7692aae2cc5bb2ffaf00c53c9e77c61faf.zip
Merge pull request #21723 from owncloud/prevent-group-enable-for-apps
Prevent group enable for apps
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 85627e613c6..3078e4fda33 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -176,7 +176,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
// set group select properly
if(OC.Settings.Apps.isType(app, 'filesystem') || OC.Settings.Apps.isType(app, 'prelogin') ||
- OC.Settings.Apps.isType(app, 'authentication') || OC.Settings.Apps.isType(app, 'logging')) {
+ OC.Settings.Apps.isType(app, 'authentication') || OC.Settings.Apps.isType(app, 'logging') ||
+ OC.Settings.Apps.isType(app, 'prevent_group_restriction')) {
page.find(".groups-enable").hide();
page.find(".groups-enable__checkbox").attr('checked', null);
} else {