Kairo-Jinkendo/backend/sync_rights_registry.py
Lars 910b1d7e07
Some checks failed
Deploy Development / deploy (push) Successful in 33s
Test Suite / pytest-backend (push) Failing after 4s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 1s
Test Suite / compose-smoke (push) Has been skipped
AP0.3: Capability Registry, Entitlements-Snapshot und require_capability.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 22:54:58 +02:00

18 lines
369 B
Python

#!/usr/bin/env python3
"""Sync in-memory rights registry to PostgreSQL."""
from __future__ import annotations
import sys
def main() -> int:
import rights_registrations # noqa: F401 — side-effect registration
from rights_registry import sync_rights_registry_to_db
return sync_rights_registry_to_db()
if __name__ == "__main__":
sys.exit(main())