8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Fix acl on check pseudo change by user

This commit is contained in:
Gabriel Detraz 2020-06-10 00:21:18 +02:00 committed by chirac
parent 13f759618f
commit 69813bf38e

View file

@ -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,