mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 13:00:44 +08:00
Add opt-in per-NE CLI exec_policy for MCP/API exec.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
bfac0b53c8
commit
b9be545a75
20 changed files with 463 additions and 24 deletions
|
|
@ -43,6 +43,10 @@ def run_api_startup() -> None:
|
|||
"""Full API boot sequence previously inlined in ``main.on_startup``."""
|
||||
assert_secure_defaults_or_exit()
|
||||
_configure_ume_diag_logging()
|
||||
_log.info(
|
||||
"startup: ne_exec_policy_enabled=%s",
|
||||
bool(getattr(settings, "ne_exec_policy_enabled", False)),
|
||||
)
|
||||
Base.metadata.create_all(bind=engine)
|
||||
|
||||
alembic_ok = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue