Explorar o código

User Roles added

Guillermo Espinoza %!s(int64=6) %!d(string=hai) anos
pai
achega
e794a02207
Modificáronse 1 ficheiros con 1 adicións e 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_ONU_ADMIN') or is_granted('ROLE_SUPER_ADMIN') %}
+{% if is_granted('ROLE_SONATA_ONU_ADMIN') or is_granted('ROLE_SONATA_OLT_ADMIN') or is_granted('ROLE_SONATA_CABLEMODEM_ADMIN') or is_granted('ROLE_SUPER_ADMIN') %}
 {% 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>
 {% else %}