Merge pull request #4871 from achillesrasquinha/Fix-4869
[FIX] permission issues for non System Managers
This commit is contained in:
commit
c53ec2e12c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue