mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
- 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.
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "theme_editor",
|
|
"description": "Theme editor access permissions",
|
|
"permissions": [
|
|
{
|
|
"id": "theme.view",
|
|
"name": "View Theme",
|
|
"description": "View current theme settings",
|
|
"resource": "theme",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 2
|
|
},
|
|
{
|
|
"id": "theme.edit",
|
|
"name": "Edit Theme",
|
|
"description": "Modify theme settings",
|
|
"resource": "theme",
|
|
"action": "update",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "theme.export",
|
|
"name": "Export Theme",
|
|
"description": "Export theme as JSON",
|
|
"resource": "theme",
|
|
"action": "export",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "theme.import",
|
|
"name": "Import Theme",
|
|
"description": "Import theme from JSON",
|
|
"resource": "theme",
|
|
"action": "import",
|
|
"scope": "global",
|
|
"minLevel": 4
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "theme",
|
|
"name": "Theme",
|
|
"type": "system",
|
|
"description": "Theme configuration resources",
|
|
"actions": ["read", "update", "export", "import"]
|
|
}
|
|
]
|
|
}
|