File tree Expand file tree Collapse file tree 5 files changed +25
-15
lines changed Expand file tree Collapse file tree 5 files changed +25
-15
lines changed Original file line number Diff line number Diff line change 11<ul class =" nav nav-tabs mb-4" >
2- <li class =" nav-item" >
3- <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' indices' ) }}" >{{ ' list' | trans }}</a >
4- </li >
2+ {% if is_granted(' INDICES' , ' global' ) %}
3+ <li class =" nav-item" >
4+ <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' indices' ) }}" >{{ ' list' | trans }}</a >
5+ </li >
6+ {% endif %}
57
68 {% if is_granted(' INDICES_STATS' , ' global' ) %}
79 <li class =" nav-item" >
Original file line number Diff line number Diff line change 11{% import ' Import/app_import.html.twig' as appImport %}
22<ul class =" nav nav-tabs mb-4" >
3- <li class =" nav-item" >
4- <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' nodes' ) }}" >{{ ' list' | trans }}</a >
5- </li >
3+ {% if is_granted(' NODES' , ' global' ) %}
4+ <li class =" nav-item" >
5+ <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' nodes' ) }}" >{{ ' list' | trans }}</a >
6+ </li >
7+ {% endif %}
68
79 {% if is_granted(' NODES_STATS' , ' global' ) %}
810 <li class =" nav-item" >
Original file line number Diff line number Diff line change 11{% import ' Import/app_import.html.twig' as appImport %}
22<ul class =" nav nav-tabs mb-4" >
3- <li class =" nav-item" >
4- <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' shards' ) }}" >{{ ' list' | trans }}</a >
5- </li >
3+ {% if is_granted(' SHARDS' , ' global' ) %}
4+ <li class =" nav-item" >
5+ <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' shards' ) }}" >{{ ' list' | trans }}</a >
6+ </li >
7+ {% endif %}
68
79 {% if is_granted(' SHARDS_STATS' , ' global' ) %}
810 <li class =" nav-item" >
Original file line number Diff line number Diff line change 11<ul class =" nav nav-tabs mb-4" >
2- <li class =" nav-item" >
3- <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' slm' ) }}" >{{ ' list' | trans }}</a >
4- </li >
2+ {% if is_granted(' SLM_POLICIES' , ' global' ) %}
3+ <li class =" nav-item" >
4+ <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' slm' ) }}" >{{ ' list' | trans }}</a >
5+ </li >
6+ {% endif %}
57
68 {% if is_granted(' SLM_POLICIES_STATUS' , ' global' ) %}
79 <li class =" nav-item" >
Original file line number Diff line number Diff line change 11<ul class =" nav nav-tabs mb-4" >
2- <li class =" nav-item" >
3- <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' snapshots' ) }}" >{{ ' list' | trans }}</a >
4- </li >
2+ {% if is_granted(' SNAPSHOTS' , ' global' ) %}
3+ <li class =" nav-item" >
4+ <a class =" nav-link{% if ' list' == active %} active{% endif %}" href =" {{ path(' snapshots' ) }}" >{{ ' list' | trans }}</a >
5+ </li >
6+ {% endif %}
57
68 {% if is_granted(' SNAPSHOTS_STATS' , ' global' ) %}
79 <li class =" nav-item" >
You can’t perform that action at this time.
0 commit comments