Commit e134673b authored by Michal Čihař's avatar Michal Čihař

Fix ACL check for notifications (issue #239)

parent 295b02b2
......@@ -271,7 +271,7 @@ class Profile(models.Model):
headers = {}
# Check whether user is still allowed to access this project
if not translation_obj.has_acl(self):
if not translation_obj.has_acl(self.user):
return
# Actually send notification
send_notification_email(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment