From 2d6d1a6024bd92c729d9933709f67e9842237784 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Wed, 10 Jun 2020 00:21:18 +0200 Subject: [PATCH] Fix acl on check pseudo change by user --- users/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/users/models.py b/users/models.py index 645bfa63..d338fa90 100755 --- a/users/models.py +++ b/users/models.py @@ -1741,6 +1741,7 @@ class User( and OptionalUser.get_cached_value("self_change_pseudo") ) or user_request.has_perm("users.change_user_pseudo") + or not self.pk ): return ( False,