I accidentally checked the custom box for the User doctype and saved it. Now the app says Not Permitted, I am logged in as the Administrator, have tried restoring database,re-installing site, edited json file and changed modified field and migrated, nothing is working. Is there any way I could remedy?
Always try to use customize form. Editing doctypes changes the core code. Which in turn causes issues while updating to newer versions.
If there are no other customization in frappe, you can maybe try hard resetting it. Might solve the issue.
I think you can SSH to server and manually set in the doctype json file from 1 to 0. Then do bench migrate. As usual take a backup or snapshot of the server before trying anything.
Yeap tried everything, only bench update --reset did the trick