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

Fix permission name

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 573823e1
......@@ -81,7 +81,7 @@ def can_suggest(user, translation):
return False
if not translation.subproject.enable_suggestions:
return False
if not user.has_perm('trans.add_translation'):
if not user.has_perm('trans.add_sugestion'):
return False
return True
......
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