ERPNext Conference 2019* ERPNext.com Blog

Not allowed via controller permission check User do not have document access


#1


#2

Does the user have the permissions required to access that Form and DocType (the full url is not visible)?

Does that user have the expected access to any DocType?

Here is the relevant code if that might help:

./apps/frappe/frappe/permissions.py:		push_perm_check_log('Not allowed via controller permission check')
frappe@ubuntu:~/frappe-bench$ find . -name '*.py' | xargs grep 'User do not have document access'
./apps/frappe/frappe/permissions.py:		if not perm: push_perm_check_log('User do not have document access')

#3

Yes the user have the permission in role manager and the document is working fine ,it is saving and I am even able to submit despite of this message but this message keeps comming every when a new document is created
Full url http://139.59.53.217/desk#Form/Dinomination/New%20Dinomination%201


#4

One of the messages has changed - what version are you on, when did you update last?