mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
- Updated action names from "moderate", "write", "configure", and "ban" to "manage", "update", and "execute" across multiple roles in the forum_forge, github_tools, irc_webchat, json_script_example, lua_test, media_center, nav_menu, package_validator, quick_guide, role_editor, schema_editor, screenshot_analyzer, smtp_config, social_hub, stats_grid, stream_cast, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, and ui_permissions packages. - Changed resource types from "content", "data", "ui", "config", and "external" to "custom", "entity", and "component" for better clarity and consistency. - Adjusted actions in roles to reflect new naming conventions and improve readability.
77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "codegen_studio",
|
|
"description": "Codegen Studio access permissions for template viewing, creation, and generation",
|
|
"permissions": [
|
|
{
|
|
"id": "codegen.templates.view",
|
|
"name": "View Templates",
|
|
"description": "View available code templates",
|
|
"resource": "codegen_templates",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "codegen.templates.create",
|
|
"name": "Create Templates",
|
|
"description": "Create custom templates",
|
|
"resource": "codegen_templates",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "codegen.generate",
|
|
"name": "Generate Code",
|
|
"description": "Generate code from templates",
|
|
"resource": "codegen_output",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "codegen.package.create",
|
|
"name": "Create Packages",
|
|
"description": "Create new MetaBuilder packages",
|
|
"resource": "codegen_packages",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "codegen.package.scaffold",
|
|
"name": "Scaffold Packages",
|
|
"description": "Generate package scaffolding",
|
|
"resource": "codegen_packages",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "codegen_templates",
|
|
"name": "Code Templates",
|
|
"type": "file",
|
|
"description": "Code generation templates",
|
|
"actions": ["read", "create", "update", "delete"]
|
|
},
|
|
{
|
|
"id": "codegen_output",
|
|
"name": "Generated Output",
|
|
"type": "file",
|
|
"description": "Generated code and files",
|
|
"actions": ["create", "read"]
|
|
},
|
|
{
|
|
"id": "codegen_packages",
|
|
"name": "Package Scaffolding",
|
|
"type": "file",
|
|
"description": "MetaBuilder package scaffolding",
|
|
"actions": ["create", "read"]
|
|
}
|
|
]
|
|
}
|