Fix non-deletable ACL

This commit is contained in:
jendib 2015-05-10 13:19:16 +02:00
parent 451d913442
commit 1e3282eff3

View File

@ -92,7 +92,7 @@
<td>
<span class="label label-default" style="margin-right: 6px;" ng-repeat="a in acl | orderBy: 'perm'">
{{ a.perm }}
<span ng-show="document.creator != a.name && a.type == 'USER' && document.writable"
<span ng-show="(document.creator != a.name && a.type == 'USER' || a.type != 'USER') && document.writable"
class="glyphicon glyphicon-remove pointer"
ng-click="deleteAcl(a)"></span>
</span>