It is possible to save User Role Assignments? When I replace application or remove it and add new with same application id, Apex removes User Role Assignments from APEX_APPL_ACL_USERS
table. Actually I can create custom table to store User Role Assigments and later use to insert in APEX_APPL_ACL_USERS
table, but I think isn't good solution.
Saving User Role Assignments
675 views Asked by ES. At
1
There currently isn't. The safest way is to backup your user roles before replacing the app. I found that when I do an import through the UI the users are preserved, when you delete the app the users are gone. There is a great blog about how to generate a script to restore user roles. For a single app, here is a script (mostly taken from above blog). Replace the 12345 with your application id. It generates a script that you have to execute after you have recreated your application.