-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add caution for no migration file creation inside the containers. #8
Comments
@alexdeathway can you elaborate on the issue? |
@CodeStrate The issue with third-party apps being unable to create migration files within the container is due to security restrictions, similar to the problem lqez/django-summernote#492. There are two ways to address this issue:
This issue involves raising an exception to inform developers about the first case. |
So if I try to make migrations I should be warned that I can not? |
You can create migrations, but issues arise when migrations for third-party apps are involved. However, the likelihood of this occurring is very slim, as I believe this happened because the third-party app was not actively maintained. I have encountered this issue only once, but I am documenting it here for future reference in case someone else faces a similar situation. |
So let me get this straight, when we talk migrations in this context it means db correct? So you're saying I can do it, but third party migrations may be an issue, i.e. if we use anything other than sqlite? |
Just as you create migration files using The reason we do not grant the user in the container sufficient privileges is that it could lead to significant security issues if the container is compromised by a malicious actor. |
@alexdeathway how do you propose we should solve it? We can either :
|
if you agree to the solution can u assign me the issue ? |
No description provided.
The text was updated successfully, but these errors were encountered: