I am having issue with permissions being reset after every time executing “bench migrate” command.
I haven’t made any change in frappe/erpnext app, but still frappe framework is somehow resetting all of my custom permissions.
I am on Version-14 for both frappe and erpnext app.
Any clue or suggestion would be highly appreciated.
I’ve also thought of this solution but we have dev servers also where we use bench export-fixtures command as well but I don’t want to export/override the custom permissions on our production server.
I might need to use database flag in order to differentiate the production server from dev servers so that on dev server bench export-fixtures command doesn’t export “Custom DocPerm”.