-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/use non priv user #1064
Conversation
CREATE ROLE ehrbase WITH LOGIN PASSWORD 'ehrbase'; | ||
CREATE ROLE ehrbase_restricted WITH LOGIN PASSWORD 'ehrbase_restricted'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on question at this point:
these are SQL scripts which user can adapt and run manually, right?
Or should maybe the ENV variables DB_USER_ADMIN and DB_PASS_ADMIN be used here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved
Kudos, SonarCloud Quality Gate passed! |
Split DB access into 2 Users
one for DDL and one for the application usage.
see https://github.com/ehrbase/ehrbase/blob/feature/use_non_priv_user/UPDATING.md