diff options
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/controllers.py')
-rw-r--r-- | Bugs-Everywhere-Web/beweb/controllers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugs-Everywhere-Web/beweb/controllers.py b/Bugs-Everywhere-Web/beweb/controllers.py index 8def76c..e3d555b 100644 --- a/Bugs-Everywhere-Web/beweb/controllers.py +++ b/Bugs-Everywhere-Web/beweb/controllers.py @@ -52,6 +52,7 @@ class Comment(PrestHandler): raise cherrypy.HTTPRedirect(comment_url(comment=reply_comment.uuid, **reply_data)) + @identity.require( identity.has_permission("editbugs")) @provide_action("action", "Update") def update(self, comment_data, comment, comment_body, *args, **kwargs): comment.body = comment_body |