fix grant 'DELETE' from index view

This commit is contained in:
Julien Fastré 2018-04-26 12:36:24 +02:00
parent 4cafa93d98
commit 724e065e80

View File

@ -66,7 +66,7 @@
<a href="{{ path('chill_task_single_task_edit', { 'id': task.id }) }}" class="sc-button bt-update "></a>
</li>
{% endif %}
{% if is_granted('CHILL_TASK_TASK_CREATE', task) %}
{% if is_granted('CHILL_TASK_TASK_DELETE', task) %}
<li>
<a href="{{ path('chill_task_single_task_delete', { 'id': task.id } ) }}" class="sc-button bt-delete "></a>
</li>