Release v0.1.7

This commit is contained in:
2026-07-11 02:34:57 +02:00
parent c0afbc9333
commit 99560a74c6
5 changed files with 152 additions and 2 deletions
+8 -1
View File
@@ -1,5 +1,7 @@
from __future__ import annotations
from pathlib import Path
from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PRINCIPAL_RESOLVER
from govoplan_core.core.identity import CAPABILITY_IDENTITY_DIRECTORY
from govoplan_core.core.module_guards import persistent_table_uninstall_guard
@@ -58,7 +60,12 @@ manifest = ModuleManifest(
permissions=PERMISSIONS,
role_templates=ROLE_TEMPLATES,
route_factory=_route_factory,
migration_spec=MigrationSpec(module_id="identity", metadata=Base.metadata),
migration_spec=MigrationSpec(
module_id="identity",
metadata=Base.metadata,
script_location=str(Path(__file__).with_name("migrations") / "versions"),
migration_after=("access",),
),
uninstall_guard_providers=(
persistent_table_uninstall_guard(
identity_models.Identity,