diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-14 15:22:36 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-14 15:45:47 +0100 |
commit | 0461b9dbb9f800951519fd1ffdb689157614ce99 (patch) | |
tree | f8c12e637d9c07427d9390ce1196a544129f3af2 | |
parent | 8f89e3520d74e1805dc46947742a17683ece6ca7 (diff) | |
download | nextcloud-server-0461b9dbb9f800951519fd1ffdb689157614ce99.tar.gz nextcloud-server-0461b9dbb9f800951519fd1ffdb689157614ce99.zip |
Add a new app type that can not be enabled for groups
-rw-r--r-- | apps/provisioning_api/appinfo/info.xml | 5 | ||||
-rw-r--r-- | settings/js/apps.js | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/provisioning_api/appinfo/info.xml b/apps/provisioning_api/appinfo/info.xml index a8702aaf1ef..e75f032008c 100644 --- a/apps/provisioning_api/appinfo/info.xml +++ b/apps/provisioning_api/appinfo/info.xml @@ -17,10 +17,9 @@ <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" /> 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 { |