fix(acl(js)): toggle rights from the ACL editor

This commit is contained in:
Francis Lachapelle committed 2020-07-15 09:57:31 -04:00
1 parent 704e7885ce
commit 825fb85903
4 files changed
+15 -12

No files matched your search

@@ -69,7 +69,7 @@
</md-item-template>
</md-autocomplete>
</div>
<md-card ng-repeat="user in acl.users track by user.uid | orderBy:['userClass', 'displayName']"
<md-card ng-repeat="user in acl.users | orderBy:['userClass', 'cn']"
class="sg-collapsed"
ng-class="{ 'sg-expanded': user.uid == acl.selectedUid }">
<a class="md-flex md-button" ng-click="acl.selectUser(user, $event)">
@@ -84,7 +84,7 @@
<div class="sg-md-body"><div>{{user.c_email}}</div></div>
</div>
<md-button class="md-icon-button md-secondary" type="button"
ng-click="acl.selectAllRights(user)"
ng-click="acl.toggleAllRights(user)"
ng-hide="!acl.showRights(user) || user.$isSpecial()">
<md-icon>select_all</md-icon>
</md-button>