feature: Show add circle button only if user has the proper rights

This commit is contained in:
Fabien Quatravaux 2020-10-20 09:33:45 +02:00
parent 5428e5aa54
commit 477eb01424
1 changed files with 5 additions and 4 deletions

View File

@ -33,10 +33,11 @@
h3 Cercles
solid-link(
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
next='admin-circle-create'
) Créer un cercle
solid-ac-checker(data-src=`${endpoints.circles || (endpoints.get && endpoints.get.circles)}`, permission='acl:Append')
solid-link(
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
next='admin-circle-create'
) Créer un cercle
.table-wrapper
.table