October 27, 2019, 2:17pm
Can I know where the code that is responsible for handling the permission is existed? Because maybe there is a bug that need to be fixed or there I need to do customization.
Is it existed in frappe or I can find it in erpnext?
Appreciate the kindly help and advise.
October 27, 2019, 3:42pm
With console access to the server, try a code search like this:
frappe@ubuntu:~/frappe-bench$ find . -name '*.py' | xargs grep 'permission'
The above expression reports all the Python files that contain ‘permission’.
To view the files, use Unix less or an editor, or from a web browser view the files on
More search examples here
Where do I go to setup Backups in new v8 - #19 by clarkej
October 28, 2019, 1:39am
Why to search only in .py files?
October 28, 2019, 1:48am
frappe@ubuntu:~/frappe-bench$ find . -name '*.js' | xargs grep 'permission'
frappe@ubuntu:~/frappe-bench$ find . -name '*.js' | xargs grep get_query