Hello Frappe Community,
I am facing an issue after deploying my custom Frappe application to a production server.
Environment
-
Frappe Framework: v15
-
Custom App deployed via Git
-
Local Environment: Working correctly
-
Production Server: Issue occurs
Issue Description
I developed and tested my application locally, and everything works as expected. The User List page shows the Add User button, and I can manage user roles and permissions without any issues.
However, after pushing my code to Git and deploying it on the production server:
-
The “Add User” button is not visible in the User List.
-
I receive “Not Permitted” or permission-related issues when trying to manage users.
-
The Roles and Permissions section is not visible.
-
The role assignment table is hidden, so I cannot assign roles to users.
-
The same user account has full access in the local environment but restricted access on the production server.
What I Have Checked
-
Code is identical between local and production.
-
Bench migrate has been executed.
-
Application is installed on the production site.
-
User has System Manager role (verified from the database).
-
Cleared cache and restarted bench services.
Questions
-
What could cause the User List “Add User” button to disappear only on the production server?
-
Could this be related to Role Permissions Manager, User Permissions, or custom scripts?
-
Are there any database migrations or permission sync commands that should be run after deployment?
-
Is there a way to compare role permissions between local and production environments?
Any guidance would be greatly appreciated.
Thank you.