mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 19:49:18 +00:00
[blog] permission fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user