mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 00:25:01 +00:00
[blog] permission fix
This commit is contained in:
@@ -73,6 +73,7 @@ def add_comment(args=None):
|
||||
del args["page_name"]
|
||||
|
||||
comment = webnotes.bean(args)
|
||||
comment.ignore_permissions = True
|
||||
comment.insert()
|
||||
|
||||
# since comments are embedded in the page, clear the web cache
|
||||
|
||||
Reference in New Issue
Block a user