[blog] permission fix
This commit is contained in:
parent
4cea6af519
commit
2e51f8aade
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user