Hi,
I have never found this so I ask this question.
Usually I have a development database where I can develop and create Roles useful for my application.
When I go to production environment, I have to migrate my roles to the production database.
How can I accomplish this automatically?
May be you can say that I have to write in my updater the code to create users and roles, but there is only this way?
When I test role's permissions may be I have to add or remove a permission, and with the updater way I would build every time my code.
I would like to export and import roles and permissions… this would be useful!
This question is either for old and new security system.
Thanks,
Paolo
We have closed this ticket because another page addresses its subject:
XAF - Generate Database Updater Code for Security Roles Created in Application UI in Development EnvironmentHow to Export and Export Permissions
Answers
Hello Paolo,
You can use either the How to generate database updater code for security roles created via the application UI in a development environment solution or transfer data using the built-in DBMS capabilities or load all persistent objects, copy information from them to objects created in a Session connected to another database and save changes.
Thanks,
Anatol
I believe this is.an very important task in xaf update. Hope devexpress can provide proper tools for this purpose
Thanks
John