Hi Community,
I’m creating reports using Script Reports in Frappe and need to set up permissions for external users.
My Requirement:
- Allow external users to view/access specific Script Reports in their Workspace
- These users should NOT have Admin or System Manager roles
- They should only see the report data, not have access to other system functions
What I’ve Tried:
I’ve read the documentation about ERPNext’s role-based permission system, which explains:
“In ERPNext, users can make a custom user interface using Page and a custom report using Report Builder or Query Report. ERPNext has a role-based permission system where you can assign roles to the user. The same role can be assigned to the page and report to access them.”
However, this documentation only covers Report Builder and Query Report, but doesn’t explain how to configure permissions specifically for Script Reports.
My Question:
- How do I assign role permissions to Script Reports?
- Is there a “Roles” field in Script Report doctype like there is for Pages?
- Are there any specific steps or configurations I need to follow for Script Reports that differ from Report Builder/Query Report?
I would appreciate any guidance, documentation links, or examples!
Thanks in advance!