[blog] permission fix

This commit is contained in:
Rushabh Mehta 2013-06-09 13:17:29 +05:30
parent 4cea6af519
commit 2e51f8aade

View File

@ -73,6 +73,7 @@ def add_comment(args=None):
del args["page_name"] del args["page_name"]
comment = webnotes.bean(args) comment = webnotes.bean(args)
comment.ignore_permissions = True
comment.insert() comment.insert()
# since comments are embedded in the page, clear the web cache # since comments are embedded in the page, clear the web cache