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.
86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "schema_editor",
|
|
"description": "Schema editor access permissions",
|
|
"permissions": [
|
|
{
|
|
"id": "schema.view",
|
|
"name": "View Schemas",
|
|
"description": "View database schemas and table structures",
|
|
"resource": "schema",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "schema.create",
|
|
"name": "Create Schemas",
|
|
"description": "Create new database schemas",
|
|
"resource": "schema",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "schema.edit",
|
|
"name": "Edit Schemas",
|
|
"description": "Edit existing database schemas, tables, and fields",
|
|
"resource": "schema",
|
|
"action": "update",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "schema.delete",
|
|
"name": "Delete Schemas",
|
|
"description": "Delete database schemas and tables",
|
|
"resource": "schema",
|
|
"action": "delete",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "schema.migrate",
|
|
"name": "Run Migrations",
|
|
"description": "Run schema migrations to apply changes",
|
|
"resource": "schema",
|
|
"action": "execute",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
},
|
|
{
|
|
"id": "schema.export",
|
|
"name": "Export Schemas",
|
|
"description": "Export schema definitions to SQL or other formats",
|
|
"resource": "schema",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 5
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "schema",
|
|
"name": "Database Schema",
|
|
"type": "entity",
|
|
"description": "Database schema definitions including tables, fields, and relations",
|
|
"actions": ["read", "create", "update", "delete", "execute"]
|
|
},
|
|
{
|
|
"id": "table",
|
|
"name": "Database Table",
|
|
"type": "entity",
|
|
"description": "Individual database table definitions",
|
|
"actions": ["read", "create", "update", "delete"]
|
|
},
|
|
{
|
|
"id": "field",
|
|
"name": "Table Field",
|
|
"type": "entity",
|
|
"description": "Individual table field/column definitions",
|
|
"actions": ["read", "create", "update", "delete"]
|
|
}
|
|
]
|
|
}
|