Hello community!!
I am trying to allow a role other than “System Manager” and “Administrator” to generate backups on demand using the button “Download files backup” in /apps/backups page, How to do that??
I edited the bench/apps/frappe/frappe/desk/pages/backups/backups.py line 85 to frappe.only_for("System Manager" , "Role") where Role is a custom role with desk access but it didn’t work!!
First, go to Role Permissions for Pages and Reports. Choose “Set Role for” Page and pick the page labeled “backups.” After that, grant access to your custom role and save the changes. Finally, refresh the page (Ctrl + Shift + R) and verify it.
Thank you.
I tried that already. After giving access through role permission manager for page and report the role can only access the page but can’t generate backup by clicking Download files backup. A pop up comes “You don’t have enough permission to access this resource. Contact your manager to gain access”…