Can we export/import Role Permissions?

I expected Role Permissions to be exportable and importable like any other DocType, but I see that Role Permissions isnt coming up in the data import tool.

What are my options?


maybe by fixtures ?

1 Like

@ahmadRagheb Could you give some example, please.

1 Like

same question.

in my case ex. I created a new role. This role has access to some custom doctypes and has access to some core doctypes. How do we export permissions for core doctype?

I think importing Custom Docperm will solve this.