Do not disable access control elements if no group was created

There are still users to be selected
This commit is contained in:
Johannes Zellner
2017-11-12 00:09:03 +01:00
parent c0faae4e27
commit 19f6da88da
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@
</div>
<div class="radio">
<label>
<input type="radio" ng-model="appConfigure.accessRestrictionOption" value="groups" ng-disabled="groups.length <= 1">
<input type="radio" ng-model="appConfigure.accessRestrictionOption" value="groups">
Only allow the following users and groups <span class="label label-danger" ng-show="appConfigure.accessRestrictionOption === 'groups' && !appConfigure.isAccessRestrictionValid()">Select at least one user or group</span>
</label>
</div>