Never pre-select any acl if at least one group exists

This commit is contained in:
Johannes Zellner
2021-03-02 09:47:24 +01:00
parent 282edca008
commit 2ccbe61b27
+1 -1
View File
@@ -186,7 +186,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$tran
$scope.appInstall.optionalSso = !!manifest.optionalSso;
$scope.appInstall.customAuth = !(manifest.addons['ldap'] || manifest.addons['proxyAuth']);
$scope.appInstall.accessRestrictionOption = $scope.appInstall.customAuth ? 'any' : ($scope.groups.length ? '' : 'any'); // make the user select an ACL conciously if groups are used
$scope.appInstall.accessRestrictionOption = $scope.groups.length ? '' : 'any'; // make the user select an ACL conciously if groups are used
$scope.appInstall.accessRestriction = { users: [], groups: [] };
// set default ports