Ticket Q397976
Visible to All Users
Duplicate

How to Export and Export Permissions

created 13 years ago

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

Answers

created 13 years ago (modified 4 years ago)

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

    Comments (1)

      I believe this is.an very important task in xaf update. Hope devexpress can provide proper tools for this purpose

      Thanks

      John

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.