projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d72ff8
)
Require editbugs permission to edit bugs. Patch from j@oil21.org.
author
Chris Ball
<cjb@laptop.org>
Fri, 16 May 2008 19:25:16 +0000
(15:25 -0400)
committer
Chris Ball
<cjb@laptop.org>
Fri, 16 May 2008 19:25:16 +0000
(15:25 -0400)
Bugs-Everywhere-Web/beweb/controllers.py
patch
|
blob
|
history
diff --git
a/Bugs-Everywhere-Web/beweb/controllers.py
b/Bugs-Everywhere-Web/beweb/controllers.py
index 8def76c8fb770870f6f89b6cba3fd6b4ac2f4693..e3d555b70662f80703fad46b7d229765dd1addda 100644
(file)
--- 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