mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
Add ACL check on link "add a person"
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{% if is_granted('CHILL_PERSON_CREATE') %}
|
||||||
<div class="grid-8 centered" style="text-align:center; margin-top: 1.5em;">
|
<div class="grid-8 centered" style="text-align:center; margin-top: 1.5em;">
|
||||||
<a href="{{ path('chill_person_new') }}">
|
<a href="{{ path('chill_person_new') }}">
|
||||||
<div class="sc-button blue" style="float: inherit;">
|
<div class="sc-button blue" style="float: inherit;">
|
||||||
@@ -5,4 +6,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user