Commit 1f3d2b7a authored by Michal Čihař's avatar Michal Čihař

Remove no longer needed explicit check

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 1e485591
......@@ -393,14 +393,6 @@ def check_suggestion_permissions(request, mode, translation):
"""
Checks permission for suggestion handling.
"""
if (translation.is_template() and not
request.user.has_perm('trans.save_template')):
# Need privilege to save
messages.error(
request,
_('You don\'t have privileges to save templates!')
)
return False
if mode in ('accept', 'accept_edit'):
if not can_accept_suggestion(request.user, translation):
messages.error(
......
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