Improve AI logic
This commit is contained in:
@@ -26,6 +26,12 @@ READ_ONLY_WHITELIST_PATTERNS = [
|
||||
r'^/api/v1/users/me/export.*$',
|
||||
r'^/api/v1/subscriptions/.*',
|
||||
r'^/api/v1/auth/.*', # Allow auth operations
|
||||
r'^/api/v1/tenants/.*/orchestrator/run-daily-workflow$', # Allow workflow testing
|
||||
r'^/api/v1/tenants/.*/inventory/ml/insights/.*', # Allow ML insights (safety stock optimization)
|
||||
r'^/api/v1/tenants/.*/production/ml/insights/.*', # Allow ML insights (yield prediction)
|
||||
r'^/api/v1/tenants/.*/procurement/ml/insights/.*', # Allow ML insights (supplier analysis, price forecasting)
|
||||
r'^/api/v1/tenants/.*/forecasting/ml/insights/.*', # Allow ML insights (rules generation)
|
||||
r'^/api/v1/tenants/.*/forecasting/operations/.*', # Allow forecasting operations
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user