Explorar el Código

role change for workflow actions in onu list

Guillermo Espinoza hace 6 años
padre
commit
0ea49ae3be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Resources/views/Workflow/show_transitions.html.twig

+ 1 - 1
Resources/views/Workflow/show_transitions.html.twig

@@ -1,4 +1,4 @@
-{% if is_granted('ROLE_SONATA_WORKFLOW_EDITOR') or is_granted('ROLE_SUPER_ADMIN') %}
+{% if is_granted('ROLE_SONATA_ONU_ADMIN') or is_granted('ROLE_SUPER_ADMIN') %}
 {% if object.getWorkflow() is null %}
 {% if object.getWorkflow() is null %}
     <a  href="#" name="transition" value="" class="btn btn-sm view_link btn-danger" disabled="disabled">{{ "Undefined Workflow"|trans({},'WorkflowLabel') }}</a>
     <a  href="#" name="transition" value="" class="btn btn-sm view_link btn-danger" disabled="disabled">{{ "Undefined Workflow"|trans({},'WorkflowLabel') }}</a>
 {% else %}
 {% else %}