From 8db0ee37cf7e80369b1cc9873f508933bff38fc6 Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Thu, 18 Jan 2018 16:50:43 +0530 Subject: [PATCH] Fixed permissions --- frappe/chat/doctype/chat_profile/chat_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/chat/doctype/chat_profile/chat_profile.py b/frappe/chat/doctype/chat_profile/chat_profile.py index d418caa7de..b876204bef 100644 --- a/frappe/chat/doctype/chat_profile/chat_profile.py +++ b/frappe/chat/doctype/chat_profile/chat_profile.py @@ -82,7 +82,7 @@ def create(user, exists_ok = False, fields = None): else: dprof = frappe.new_doc('Chat Profile') dprof.user = user - dprof.save() + dprof.save(ignore_permissions = True) profile = get(user, fields = fields)