Fix permissions

This commit is contained in:
Oliver Walters 2020-10-05 01:01:56 +11:00
parent 756f3ddb0f
commit 13cd8624b2

View File

@ -21,7 +21,7 @@
{% if perms.stock.view_stockitem or perms.part.view_stocklocation %}
<li><a href="{% url 'stock-index' %}"><span class='fas fa-boxes icon-header'></span>{% trans "Stock" %}</a></li>
{% endif %}
{% if perms.build %}
{% if perms.build.view_build %}
<li><a href="{% url 'build-index' %}"><span class='fas fa-tools icon-header'></span>{% trans "Build" %}</a></li>
{% endif %}
{% if perms.order.view_purchaseorder %}