Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Importing and Exporting Role Permissions Manager

Hi everyone, is there a way to import/export role permissions manager?

Hi I am having the same issue,

Would be good if we could export role permission chnges from the development ERPNext instance to the production ERPNext instance.

Anyone can help or give me some directions on?
I tried put ‘Custom Docperm’ in fixtures in hooks.py file.

But seems it will apend the duplicates role permission.

use Data Export and Data Import

wow
thanks

How can I export the Role Permissions Manager using the Data Export tool? I couldn’t find it as a doctype in the Data Export options

You can download the template using the data import tool. Go to the Data Import tool, select “Custom DocPerm” and download the template as shown in the screenshot below.

Hope this helps.

1 Like

Exporting ‘Custom DocPerm’ does not export the document name which I have given the custom permissions. The template provided by the Data Import also doesn’t have the document name.

For me the safest solution is to have a SQL script for custom doc permissions. I case this helps you.

The ERPNext version I am using is 11.

1 Like