Repository navigation
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #13139 +/- ##
==========================================
- Coverage 90.34% 90.28% -0.07%
==========================================
Files 901 897 -4
Lines 83191 83220 +29
Branches 4272 4260 -12
==========================================
- Hits 75160 75133 -27
- Misses 7017 7078 +61
+ Partials 1014 1009 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
@SchrodingersGat ready for review and merge |
|
Some thoughts below on how this could be a bit more "user friendly" Pepper GenerationCurrently there is no way for the sysadmin to actually generate a new pepper. As far as I can tell the docs doesn't cover this either. Suggestion: An invoke task to generate a new random pepper value, with an option to either drop or keep the existing pepper value as legacy. This new command should also be covered in the docs. Any error or warning messages should reference it too (if needed) This task would also serve as the method for rotating out peppers if needed Default PepperBy default, no pepper is available - and thus for any new (or migrating) instances there will be a lot of warning messages. Can we create a default pepper file, which is created on load (only if env var or pepper file does not exist). This mirrors the way that the secret key file is generated if it does not already exist. This will mean that any new installs, or old installs migrating to the new code, will automatically have a "default" randomly generated pepper value. Empty Pepper ValuesIt appears that empty pepper values can sneak in to |
|
I can add such a command but these values need to be backed up for a correct restore so not really a fan of a silent mechanism |

Enables better tracing where tokens come from and allows for setting (and rotating) peppers