Migrate most of .admin usage

This commit is contained in:
Johannes Zellner
2020-02-24 12:56:13 +01:00
parent 3c0e674ee5
commit 0e6c9177f0
16 changed files with 27 additions and 23 deletions

View File

@@ -47,8 +47,7 @@
<div class="form-group">
<label class="control-label">Role</label>
<div class="control-label">
<!-- <select class="form-control" ng-model="useredit.role" ng-options="a.id as a.name for a in roles" ng-disabled="userInfo.role !== 'owner'"></select> -->
<select class="form-control" ng-model="useradd.role" ng-options="a.id as a.name for a in roles"></select>
<select class="form-control" ng-model="useradd.role" ng-options="a.id as a.name for a in roles" ng-disabled="!userInfo.isAtLeastOwner"></select>
</div>
</div>