[blog] permission fix

This commit is contained in:
Rushabh Mehta 2013-06-09 13:21:58 +05:30
parent 9b6912f8c0
commit 51f688ad4a

View File

@ -73,6 +73,7 @@ def add_comment(args=None):
del args["page_name"]
comment = webnotes.bean(args)
del comment.doc.fields["cmd"]
comment.ignore_permissions = True
comment.insert()