aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb
diff options
context:
space:
mode:
Diffstat (limited to 'Bugs-Everywhere-Web/beweb')
-rw-r--r--Bugs-Everywhere-Web/beweb/controllers.py1
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