This commit is contained in:
@@ -6,7 +6,7 @@ from govoplan_core.core.provider_governance import declared_module_architecture
|
||||
|
||||
MODULE_ID = "records"
|
||||
MODULE_NAME = "Records"
|
||||
MODULE_VERSION = "0.1.15"
|
||||
MODULE_VERSION = "0.1.16"
|
||||
READ_SCOPE = "records:workspace:read"
|
||||
WRITE_SCOPE = "records:workspace:write"
|
||||
ADMIN_SCOPE = "records:workspace:admin"
|
||||
@@ -35,8 +35,8 @@ def _permission(scope: str, label: str, description: str) -> PermissionDefinitio
|
||||
|
||||
|
||||
PERMISSIONS = (
|
||||
_permission(READ_SCOPE, "View records workspace", "Read records records, configuration, and workflow context."),
|
||||
_permission(WRITE_SCOPE, "Manage records workspace", "Create and update records records and workflow state."),
|
||||
_permission(READ_SCOPE, "View records workspace", "Read records, configuration, and workflow context."),
|
||||
_permission(WRITE_SCOPE, "Manage records workspace", "Create and update records and workflow state."),
|
||||
_permission(ADMIN_SCOPE, "Administer records workspace", "Configure records policies, templates, and tenant-level administration."),
|
||||
)
|
||||
|
||||
@@ -44,13 +44,13 @@ ROLE_TEMPLATES = (
|
||||
RoleTemplate(
|
||||
slug="records_manager",
|
||||
name="Records manager",
|
||||
description="Manage records records and workflow state.",
|
||||
description="Manage records and workflow state.",
|
||||
permissions=(READ_SCOPE, WRITE_SCOPE),
|
||||
),
|
||||
RoleTemplate(
|
||||
slug="records_viewer",
|
||||
name="Records viewer",
|
||||
description="Read records records and workflow context.",
|
||||
description="Read records and workflow context.",
|
||||
permissions=(READ_SCOPE,),
|
||||
),
|
||||
)
|
||||
@@ -76,6 +76,11 @@ DOCUMENTATION = (
|
||||
href="govoplan-records/docs/RECORDS_DOMAIN_BOUNDARY.md",
|
||||
kind="repository",
|
||||
),
|
||||
DocumentationLink(
|
||||
label="eAkte architecture",
|
||||
href="govoplan-records/docs/EAKTE_ARCHITECTURE.md",
|
||||
kind="repository",
|
||||
),
|
||||
),
|
||||
metadata={
|
||||
"seed": True,
|
||||
@@ -83,6 +88,34 @@ DOCUMENTATION = (
|
||||
"first_slice": "Define record class, file plan node, retention schedule, disposal hold, archive transfer, and source document links.",
|
||||
},
|
||||
),
|
||||
DocumentationTopic(
|
||||
id=f"{MODULE_ID}.eakte-architecture",
|
||||
title="eAkte and digital record lifecycle",
|
||||
summary="Defines native and external record operation, filing, temporal and purpose-aware access, retention, holds, appraisal, transfer, and disposition.",
|
||||
body=(
|
||||
"Records owns the legal and institutional record identity, file plan, filing decisions, "
|
||||
"retention and disposition lifecycle, and transfer evidence. Files owns bytes, DMS owns "
|
||||
"document editing, Policy owns reusable rules, and external archives remain supported "
|
||||
"through explicit source-authority and provider profiles."
|
||||
),
|
||||
layer="available",
|
||||
documentation_types=("admin", "user"),
|
||||
audience=("user", "records_manager", "operator", "module_admin", "product_owner"),
|
||||
order=110,
|
||||
related_modules=OPTIONAL_DEPENDENCIES,
|
||||
links=(
|
||||
DocumentationLink(
|
||||
label="eAkte architecture",
|
||||
href="govoplan-records/docs/EAKTE_ARCHITECTURE.md",
|
||||
kind="repository",
|
||||
),
|
||||
),
|
||||
metadata={
|
||||
"kind": "concept",
|
||||
"help_contexts": ["records.page", "records.record", "records.disposition"],
|
||||
"known_limit": "The architecture is accepted, but persistence and user-visible record workflows remain a scaffold.",
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
manifest = ModuleManifest(
|
||||
|
||||
Reference in New Issue
Block a user