Skip to content

Restrict the SQL database creation to the config directory #4521

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

Discookie
Copy link
Contributor

Previously, SQL files could be created anywhere on the server. This change restricts them always to inside the config directory.

The old behavior can be brought back by creating symlinks manually in the config dir.

@Discookie Discookie force-pushed the sqlite-db branch 5 times, most recently from 3651aee to 381f48e Compare April 11, 2025 09:50
Copy link
Contributor

@bruntib bruntib left a comment

Choose a reason for hiding this comment

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

Please, fix the web tests, otherwise looks good.

@@ -26,6 +26,8 @@ further details.
The Web application separates products based on their unique endpoint. The
home page of the server is the product list, shown above.

**

Copy link
Contributor

Choose a reason for hiding this comment

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

This is probably accidental.

@Discookie Discookie force-pushed the sqlite-db branch 4 times, most recently from a450871 to 8355794 Compare May 19, 2025 09:35
@Discookie Discookie requested a review from bruntib May 20, 2025 07:45
@Discookie Discookie added this to the release 6.26.0 milestone May 20, 2025
Previously, SQL files could be created anywhere on the server. This change restricts them always to inside the config directory.
To use SQL databases in other locations, create a symlink inside the config directory.
@bruntib bruntib merged commit 0bbc92f into Ericsson:master May 29, 2025
8 checks passed
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