mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Fix acl on check pseudo change by user
This commit is contained in:
parent
fbc718bf3c
commit
2d6d1a6024
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue