mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
[FR] Add proactive system check for site_url (#9895)
* [FR] Add proactive system check for site_url Fixes #7847 * fix enviroment for tests * fix admin tests and make them more robust * improve tests for admin actions * add test for all scenarios * use right http error code * fix error code * remove dependency on bundle * fix test
This commit is contained in:
@ -44,6 +44,12 @@ This might be caused by an addition or removal of models to the code base. Runni
|
||||
The scopes used for oAuth permissions have an issue and do not match the rulesets.
|
||||
This might be caused by an addition or removal of models to the code base or changes to the rulesets. Running the test suit should surface more logs with the error code indicating the exact infractions.
|
||||
|
||||
#### INVE-E7
|
||||
**The host used does not match settings - Backend**
|
||||
|
||||
The settings for SITE_URL and ALLOWED_HOSTS do not match the host used to access the server. This might lead to issues with CSRF protection, CORS and other security features.
|
||||
The settings must be adjusted.
|
||||
|
||||
### INVE-W (InvenTree Warning)
|
||||
Warnings - These are non-critical errors which should be addressed when possible.
|
||||
|
||||
|
Reference in New Issue
Block a user