Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Added the option to explicitly specify the user for django commands #45537
Being able to specify the user to run django commands as can help to prevent permissions issues from cropping up, such as when compiling static assets or migrating a sqlite database which are then owned by root.
What does this PR do?
What issues does this PR fix or reference?
All django commands would be executed by whichever user the salt daemon is being executed as.
Django commands can be run as an arbitrary user to avoid permissions issues
Commits signed with GPG?
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
Thanks for this @blarghmatey - It looks like there are some related test failures here: https://jenkins.saltstack.com/job/PR/job/salt-pr-linode-cent7-py3/1424/#showFailuresLink
Can you take a look?