How to persiste custom DocPerms

Having set some different permission in the Role Permission Manager, I can see that some entries in the Custom DocPerms doctype got added.

How can I add them to my app, so that if someone installs my app, these permissions will be re-applied?

@stephenBDT The permissions set into your account is the same that will reflect in the app too.

@Mitali_Deshpande I undestand this, but I want to make it in such a way, that when someone installs my app in another instance of frappe, that he/she will have the permissions set as I have specified them.