Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0046284b95 |
@@ -6,6 +6,8 @@
|
||||
|
||||
`govoplan-forms-runtime` is the GovOPlaN platform module seed for runtime form submissions for validation, drafts, attachments, signatures, status tracking, and handoff to domain modules.
|
||||
|
||||
Its runtime module ID is `forms_runtime`; the repository and Python distribution retain the hyphenated `govoplan-forms-runtime` name.
|
||||
|
||||
This repository is initialized as a discoverable module seed. It exposes a module manifest, initial permissions, role templates, documentation metadata, Gitea workflow templates, and a focused manifest test. It intentionally does not yet add HTTP routes, database models, migrations, or WebUI navigation.
|
||||
|
||||
## Initial Ownership
|
||||
|
||||
@@ -22,4 +22,4 @@ where = ["src"]
|
||||
govoplan_forms_runtime = ["py.typed"]
|
||||
|
||||
[project.entry-points."govoplan.modules"]
|
||||
"forms-runtime" = "govoplan_forms_runtime.backend.manifest:get_manifest"
|
||||
forms_runtime = "govoplan_forms_runtime.backend.manifest:get_manifest"
|
||||
|
||||
@@ -3,12 +3,12 @@ from __future__ import annotations
|
||||
from govoplan_core.core.access import CAPABILITY_AUTH_PERMISSION_EVALUATOR, CAPABILITY_AUTH_PRINCIPAL_RESOLVER
|
||||
from govoplan_core.core.modules import DocumentationLink, DocumentationTopic, ModuleManifest, PermissionDefinition, RoleTemplate
|
||||
|
||||
MODULE_ID = "forms-runtime"
|
||||
MODULE_ID = "forms_runtime"
|
||||
MODULE_NAME = "Forms Runtime"
|
||||
MODULE_VERSION = "0.1.8"
|
||||
READ_SCOPE = "forms-runtime:workspace:read"
|
||||
WRITE_SCOPE = "forms-runtime:workspace:write"
|
||||
ADMIN_SCOPE = "forms-runtime:workspace:admin"
|
||||
READ_SCOPE = "forms_runtime:workspace:read"
|
||||
WRITE_SCOPE = "forms_runtime:workspace:write"
|
||||
ADMIN_SCOPE = "forms_runtime:workspace:admin"
|
||||
OPTIONAL_DEPENDENCIES = (
|
||||
"forms",
|
||||
"files",
|
||||
|
||||
@@ -9,7 +9,7 @@ class ManifestSeedTests(unittest.TestCase):
|
||||
def test_manifest_registers_seed_contract(self) -> None:
|
||||
manifest = get_manifest()
|
||||
|
||||
self.assertEqual(manifest.id, "forms-runtime")
|
||||
self.assertEqual(manifest.id, "forms_runtime")
|
||||
self.assertEqual(manifest.name, "Forms Runtime")
|
||||
self.assertEqual(manifest.dependencies, ("access",))
|
||||
self.assertEqual({permission.scope for permission in manifest.permissions}, {READ_SCOPE, WRITE_SCOPE, ADMIN_SCOPE})
|
||||
|
||||
Reference in New Issue
Block a user