[blog] permission fix
This commit is contained in:
parent
9b6912f8c0
commit
51f688ad4a
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user