Block deleting of the last group with user manage permissions (closes #2544)
This commit is contained in:
parent
ef36962221
commit
4a1df35a50
@ -41,6 +41,7 @@
|
||||
|
||||
<!--delete-->
|
||||
<a href="" class="text-danger"
|
||||
ng-if="group_danger.id != group.id"
|
||||
ng-bootbox-confirm="{{ 'Are you sure you want to delete this entry?' | translate }}<br>
|
||||
<b>{{ group.name | translate }}</b>"
|
||||
ng-bootbox-confirm-action="delete(group)">
|
||||
|
Loading…
Reference in New Issue
Block a user