I have Custom Doctype, in that Permission showing different in Role Permission Manager and Doctype Permission Table
Role Permission Manager
Doctype Permission Table
Why difference ? is Role Permission Manger overrides Doctype Permissions ?
I have Custom Doctype, in that Permission showing different in Role Permission Manager and Doctype Permission Table
Role Permission Manager
Doctype Permission Table
Why difference ? is Role Permission Manger overrides Doctype Permissions ?
If you create a custom doctype and need to set default permissions, you can configure the permissions at the doctype level. This way, when your custom app is installed, there’s no need to manually set the role permissions. However, if it’s not a custom doctype, you should avoid modifying the core doctype to add permissions directly. Instead, you can manage permissions through the “Role Permission Manager,” which will store the permissions in the “Custom DocPerm.”
Hope this helps.
Is code generated for the permissions added through the Role Permission Manager
?
It would be very handy to move the permissions to different environments if the code is generated and is part of the repository.
Thank You.