changeset 5709:e2378b6afdb5

Fix issue2551041 - change permission check from "Create User" to "Register User" in page.html for the responsive and devel templates. (reporter Cédric Krier)
author John Rouillard <rouilj@ieee.org>
date Sat, 13 Apr 2019 13:53:24 -0400
parents ad786c394788
children 0b79bfcb3312
files CHANGES.txt share/roundup/templates/devel/html/page.html share/roundup/templates/responsive/html/page.html
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Sat Apr 13 12:45:36 2019 -0400
+++ b/CHANGES.txt	Sat Apr 13 13:53:24 2019 -0400
@@ -117,6 +117,10 @@
   https://mathiasbynens.github.io/rel-noopener/ (John Rouillard)
 - Fix bug where some protected properties were not identified as such
   when using the anydbm backend (John Rouillard)
+- issue2551041 - change permission check from "Create User" to "Register
+  User" in page.html for the responsive and devel templates. (reporter
+  Cédric Krier, John Rouillard)
+
 
 2018-07-13 1.6.0
 
--- a/share/roundup/templates/devel/html/page.html	Sat Apr 13 12:45:36 2019 -0400
+++ b/share/roundup/templates/devel/html/page.html	Sat Apr 13 13:53:24 2019 -0400
@@ -180,7 +180,7 @@
         </li>
         <li>
          <a href="user?@template=register"
-            tal:condition="python:request.user.hasPermission('Create', 'user')"
+            tal:condition="python:request.user.hasPermission('Register', 'user')"
             i18n:translate="">Register</a>
         </li>
         <li>
--- a/share/roundup/templates/responsive/html/page.html	Sat Apr 13 12:45:36 2019 -0400
+++ b/share/roundup/templates/responsive/html/page.html	Sat Apr 13 13:53:24 2019 -0400
@@ -198,7 +198,7 @@
             </li>
             <li>
              <a href="user?@template=register"
-                tal:condition="python:request.user.hasPermission('Create', 'user')"
+                tal:condition="python:request.user.hasPermission('Register', 'user')"
                 i18n:translate="">Register</a>
             </li>
             <li>

Roundup Issue Tracker: http://roundup-tracker.org/