From 66bdce3d04d1a08be9b87e7016ce6100b8dbf4b2 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 5 Oct 2020 23:53:24 +1100 Subject: [PATCH] Hide elements on the PartCategory page, based on permissions --- InvenTree/part/templates/part/category.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 9a6fb9d7e5..44c8cd7df9 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -20,17 +20,23 @@ {% endif %} + {% if perms.part.create_partcategory %} + {% endif %} {% if category %} + {% if perms.part.change_partcategory %} + {% endif %} + {% if perms.part.delete_partcategory %} {% endif %} + {% endif %}