Add a new app type that can not be enabled for groups
This commit is contained in:
parent
8f89e3520d
commit
0461b9dbb9
|
@ -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" />
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue