Disable group access control and show info if there are no groups
This commit is contained in:
@@ -49,10 +49,11 @@
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" ng-model="appInstall.accessRestrictionOption" value="restricted">
|
||||
<input type="radio" ng-model="appInstall.accessRestrictionOption" value="restricted" ng-disabled="groups.length <= 1">
|
||||
Restrict to groups
|
||||
</label>
|
||||
</div>
|
||||
<div ng-show="groups.length <= 1">No groups available. Create groups to restrict access to them first.</div>
|
||||
<div class="has-error" ng-show="appInstall.accessRestrictionOption !== '' && !appInstall.isAccessRestrictionValid()">Select at least one group</div>
|
||||
<div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user