8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Merge branch 'fix_pseudo_creation_user' into 'dev'

Fix acl on check pseudo change by user

See merge request re2o/re2o!545
This commit is contained in:
Jean-Romain Garnier 2020-08-07 19:09:25 +02:00
commit 3858571841

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,