Skip to content

set different clickhouse credentials for migrate and app use #4879

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

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

hanars
Copy link
Collaborator

@hanars hanars commented Jul 3, 2025

this is a very basic implementation of multiple users for clickhouse - let me know if you have any objections to the approach.

@hanars hanars requested a review from bpblanken July 3, 2025 14:19
@@ -45,7 +45,11 @@ python -u manage.py migrate --database=reference_data
python -u manage.py loaddata variant_searches
python -u manage.py loaddata variant_tag_types
if [ "$CLICKHOUSE_SERVICE_HOSTNAME" ]; then
export CLICKHOUSE_USER="$CLICKHOUSE_ADMIN_USER"
Copy link
Collaborator

Choose a reason for hiding this comment

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

this looks ok to me! the only potential point of concern is potential the delete projects operation, which very likely will need some form of write permissions.

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.

2 participants