Implement local registry store
Some checks failed
CI / Build and Test (push) Has been cancelled
CI / Lint (push) Has been cancelled

This commit is contained in:
2026-05-17 05:10:17 +02:00
parent 4f4c290684
commit 3c4f8fc2b4
4 changed files with 508 additions and 1 deletions

View File

@@ -0,0 +1,99 @@
{
"systems": [
{
"id": "markitect-tool",
"name": "Markitect Tool",
"resource_types": [
{
"name": "document",
"scope_level": "Resource",
"planes": ["Data"]
}
],
"actions": [
{
"name": "read",
"capabilities": ["View"],
"planes": ["Data"],
"exposure_modes": ["Masked", "Plaintext"]
}
],
"caring_profiles": ["caring-0.4.0-rc2"]
}
],
"resource_manifests": [
{
"id": "markitect-example-knowledge-base",
"system": "markitect-tool",
"resources": [
{
"id": "document:internal-note",
"type": "document",
"parent": "knowledge-base:markitect-example",
"labels": ["internal"],
"trust_zone": "internal",
"owner": "team:platform"
}
],
"actions": ["read", "query", "search", "package", "export"],
"caring_profile": "caring-0.4.0-rc2",
"metadata": {
"flex_auth_contract": "resource-registration-v0"
}
}
],
"tenants": [
{
"id": "tenant:alpha",
"name": "Tenant Alpha"
}
],
"subjects": [
{
"id": "user:alice",
"type": "Human",
"display_name": "Alice Example",
"organization_relation": "Customer",
"roles": ["Doer"],
"groups": ["group:platform-architecture"],
"tenant": "tenant:alpha"
}
],
"groups": [
{
"id": "group:platform-architecture",
"display_name": "Platform Architecture",
"members": ["user:alice"],
"tenant": "tenant:alpha"
}
],
"relationships": [
{
"id": "rel:alice-reader-internal-note",
"system": "markitect-tool",
"subject": "group:platform-architecture",
"relation": "reader",
"object": "document:internal-note",
"tenant": "tenant:alpha",
"conditions": ["Logged"],
"caring": {
"id": "descriptor:tenant-alpha-document-reader",
"profile": "caring-0.4.0-rc2",
"subject_type": "Group",
"organization_relation": "Customer",
"canonical_role": "Doer",
"scope": {
"level": "Resource",
"id": "document:internal-note",
"tenant": "tenant:alpha",
"resource": "document:internal-note"
},
"planes": ["Data"],
"capabilities": ["View"],
"exposure_modes": ["Masked", "Plaintext"],
"conditions": ["Logged"],
"restrictions": ["ExportBlocked"]
}
}
]
}