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.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "dropdown_manager",
|
|
"description": "Dropdown manager access permissions",
|
|
"permissions": [
|
|
{
|
|
"id": "dropdowns.view",
|
|
"name": "View Dropdowns",
|
|
"description": "View dropdown configurations",
|
|
"resource": "dropdowns",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 2
|
|
},
|
|
{
|
|
"id": "dropdowns.create",
|
|
"name": "Create Dropdowns",
|
|
"description": "Create new dropdown configurations",
|
|
"resource": "dropdowns",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 4
|
|
},
|
|
{
|
|
"id": "dropdowns.update",
|
|
"name": "Update Dropdowns",
|
|
"description": "Update existing dropdowns",
|
|
"resource": "dropdowns",
|
|
"action": "update",
|
|
"scope": "global",
|
|
"minLevel": 4
|
|
},
|
|
{
|
|
"id": "dropdowns.delete",
|
|
"name": "Delete Dropdowns",
|
|
"description": "Delete dropdown configurations",
|
|
"resource": "dropdowns",
|
|
"action": "delete",
|
|
"scope": "global",
|
|
"minLevel": 4
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "dropdowns",
|
|
"name": "Dropdowns",
|
|
"type": "data",
|
|
"description": "Dropdown configuration resources",
|
|
"actions": ["read", "create", "update", "delete"]
|
|
}
|
|
]
|
|
}
|