From d5bbfb67cf6f9dacc7dd9225f8bb7f48dce98640 Mon Sep 17 00:00:00 2001 From: Jaap Joris Vens Date: Fri, 20 Mar 2020 14:19:01 +0100 Subject: [PATCH] Not sure if this accounts for swapped models... --- cms/templates/cms/page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/templates/cms/page.html b/cms/templates/cms/page.html index 03994c4..365f2a7 100644 --- a/cms/templates/cms/page.html +++ b/cms/templates/cms/page.html @@ -10,7 +10,7 @@ {% include_section section %} {% endfor %} - {% if user.is_staff %} + {% if perms.cms_page.change %}