]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add a new app type that can not be enabled for groups
authorJoas Schilling <nickvergessen@owncloud.com>
Thu, 14 Jan 2016 14:22:36 +0000 (15:22 +0100)
committerJoas Schilling <nickvergessen@owncloud.com>
Thu, 14 Jan 2016 14:45:47 +0000 (15:45 +0100)
apps/provisioning_api/appinfo/info.xml
settings/js/apps.js

index a8702aaf1efb711052610b2d80d0642951fbace1..e75f032008c5f78c07f2bff54cbc4096a1a0f750 100644 (file)
        <documentation>
                <admin>admin-provisioning-api</admin>
        </documentation>
-       <version>0.4.0</version>
+       <version>0.4.1</version>
        <types>
-               <!-- this is used to disable the feature of enabling an app for specific groups only because this would break this app -->
-               <filesystem/>
+               <prevent_group_restriction/>
        </types>
        <dependencies>
                <owncloud min-version="9.0" max-version="9.0" />
index 85627e613c649014c79f96e3746cf71129cf1dd6..3078e4fda33708c387e680427fd41d1f35340893 100644 (file)
@@ -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 {