Hi JMIX Team,
Our application should access the database with a user that can only manipulate data and another user should be used as schema owner to run Liquibase with more authorizations . This appraoch reduces security risks in case of breach. Therefore, we need to have 2 different users, one for Liquibase and for our JMIX V2 application.
We looked at your documentation Springboot and we tried to connecto to our Oracle database as mentioned.
main.datasource.url=jdbc:oracle:thin:@//localhost:1521/xe
main.datasource.username=usersl
main.datasource.password=usersl
main.liquibase.url = jdbc:oracle:thin:@//localhost:1521/xe
main.liquibase.username = userowner
main.liquibase.password = userowner
main.liquibase.default-schema = userowner
Unfortunately, this approach did not work, as the application is still using the datasource user.
Searching deeply about this topic we found an older related topic - Separate DataSource for running Liquibase in Jmix application but this option did not work either, we assumed this was for JMIX v.1.x
Do you have any other idea how to do it?
Thank you
Luis Garcia