mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 06:14:59 +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.
93 lines
2.2 KiB
JSON
93 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "ui_level6",
|
|
"description": "Supergod panel access permissions",
|
|
"permissions": [
|
|
{
|
|
"id": "level6.panel.view",
|
|
"name": "View Supergod Panel",
|
|
"description": "View Supergod panel",
|
|
"resource": "level6",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 6
|
|
},
|
|
{
|
|
"id": "level6.tenants.create",
|
|
"name": "Create Tenants",
|
|
"description": "Create tenants",
|
|
"resource": "tenants",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 6
|
|
},
|
|
{
|
|
"id": "level6.tenants.manage",
|
|
"name": "Manage Tenants",
|
|
"description": "Manage tenants",
|
|
"resource": "tenants",
|
|
"action": "update",
|
|
"scope": "global",
|
|
"minLevel": 6
|
|
},
|
|
{
|
|
"id": "level6.tenants.delete",
|
|
"name": "Delete Tenants",
|
|
"description": "Delete tenants",
|
|
"resource": "tenants",
|
|
"action": "delete",
|
|
"scope": "global",
|
|
"minLevel": 6
|
|
},
|
|
{
|
|
"id": "level6.ownership.transfer",
|
|
"name": "Transfer Ownership",
|
|
"description": "Transfer ownership",
|
|
"resource": "ownership",
|
|
"action": "manage",
|
|
"scope": "global",
|
|
"minLevel": 6
|
|
},
|
|
{
|
|
"id": "level6.system.admin",
|
|
"name": "System Administration",
|
|
"description": "System administration",
|
|
"resource": "system",
|
|
"action": "admin",
|
|
"scope": "global",
|
|
"minLevel": 6
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "level6",
|
|
"name": "Level 6 Panel",
|
|
"type": "component",
|
|
"description": "Supergod panel resources",
|
|
"actions": ["read"]
|
|
},
|
|
{
|
|
"id": "tenants",
|
|
"name": "Tenants",
|
|
"type": "entity",
|
|
"description": "Tenant management resources",
|
|
"actions": ["create", "read", "update", "delete"]
|
|
},
|
|
{
|
|
"id": "ownership",
|
|
"name": "Ownership",
|
|
"type": "custom",
|
|
"description": "Ownership transfer resources",
|
|
"actions": ["manage"]
|
|
},
|
|
{
|
|
"id": "system",
|
|
"name": "System",
|
|
"type": "custom",
|
|
"description": "System administration resources",
|
|
"actions": ["admin", "read"]
|
|
}
|
|
]
|
|
}
|