Ver código fonte

User Roles added

Guillermo Espinoza 6 anos atrás
pai
commit
e794a02207

+ 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 %}
 {% 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 %}