From ce2bb3abad198e7ac25624cd868b7b041e365ced Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 22 Jul 2021 11:58:00 +0100 Subject: [PATCH] Fix Create Package not appearing for unprivileged users --- app/templates/users/profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/users/profile.html b/app/templates/users/profile.html index 53d3040d..ff1a3ca8 100644 --- a/app/templates/users/profile.html +++ b/app/templates/users/profile.html @@ -119,7 +119,7 @@ {% endif %} -{% if user.checkPerm(current_user, "CHANGE_AUTHOR") %} +{% if current_user == user or user.checkPerm(current_user, "CHANGE_AUTHOR") %}