浏览代码

User Roles added

Guillermo Espinoza 6 年之前
父节点
当前提交
e794a02207
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 %}