Skip to content
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

Merged
merged 10 commits into from
Feb 22, 2023
Merged

Feature/use non priv user #1064

merged 10 commits into from
Feb 22, 2023

Conversation

stefanspiska
Copy link
Contributor

@stefanspiska stefanspiska commented Feb 21, 2023

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

@stefanspiska stefanspiska marked this pull request as ready for review February 21, 2023 15:21
CREATE ROLE ehrbase WITH LOGIN PASSWORD 'ehrbase';
CREATE ROLE ehrbase_restricted WITH LOGIN PASSWORD 'ehrbase_restricted';
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

@sonarcloud
Copy link

sonarcloud bot commented Feb 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@stefanspiska stefanspiska merged commit 4b768d5 into develop Feb 22, 2023
@stefanspiska stefanspiska deleted the feature/use_non_priv_user branch February 22, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants