Files
metabuilder/packages/component_editor/permissions/roles.json
johndoe6345789 3ec49cfe8c feat: Introduce schema-driven package system specification
- Added `package_system.tla` to model the schema-driven package system, including multi-source loading, validation, dependency resolution, and permission filtering.
- Created `package_system.cfg` for TLC model checker configuration, defining constants and invariants for bounded model checking.
- Updated `metabuilder.tla` to reflect the core specification of MetaBuilder, emphasizing the package lifecycle and related specifications.
2026-01-02 21:59:59 +00:00

63 lines
1.6 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
"schemaVersion": "1.0.0",
"package": "component_editor",
"description": "Component editor access permissions",
"permissions": [
{
"id": "components.view",
"name": "View Components",
"description": "View component hierarchies",
"resource": "components",
"action": "read",
"scope": "global",
"minLevel": 2
},
{
"id": "components.create",
"name": "Create Components",
"description": "Create and modify component hierarchies",
"resource": "components",
"action": "create",
"scope": "global",
"minLevel": 4
},
{
"id": "components.update",
"name": "Update Components",
"description": "Update component configurations",
"resource": "components",
"action": "update",
"scope": "global",
"minLevel": 4
},
{
"id": "components.delete",
"name": "Delete Components",
"description": "Delete components from hierarchies",
"resource": "components",
"action": "delete",
"scope": "global",
"minLevel": 4
},
{
"id": "components.export",
"name": "Export Components",
"description": "Export component hierarchies",
"resource": "components",
"action": "export",
"scope": "global",
"minLevel": 3
}
],
"resources": [
{
"id": "components",
"name": "Components",
"type": "data",
"description": "Component hierarchy resources",
"actions": ["read", "create", "update", "delete", "export"]
}
]
}