Skip to content

Commit

Permalink
Add missing permission check
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Apr 16, 2015
1 parent 46b2d94 commit f9011e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weblate/trans/views/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ def load_zen(request, project, subproject, lang):
)


@permission_required('trans.save_translation')
def save_zen(request, project, subproject, lang):
'''
Save handler for zen mode.
Expand Down

0 comments on commit f9011e9

Please sign in to comment.