Files
johndoe6345789 ee367920be Refactor permissions in various packages to standardize action names and resource types
- 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.
2026-01-02 20:02:43 +00:00

84 lines
2.1 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
"schemaVersion": "1.0.0",
"package": "arcade_lobby",
"description": "Arcade lobby access and management permissions",
"permissions": [
{
"id": "arcade.lobby.view",
"name": "View Arcade Lobby",
"description": "View arcade lobby and game listings",
"resource": "arcade_lobby",
"action": "read",
"scope": "global",
"minLevel": 2
},
{
"id": "arcade.party.create",
"name": "Create Party",
"description": "Create party queues",
"resource": "arcade_party",
"action": "create",
"scope": "global",
"minLevel": 2
},
{
"id": "arcade.tournament.join",
"name": "Join Tournament",
"description": "Join tournaments",
"resource": "arcade_tournament",
"action": "read",
"scope": "global",
"minLevel": 2
},
{
"id": "arcade.tournament.create",
"name": "Create Tournament",
"description": "Create new tournaments",
"resource": "arcade_tournament",
"action": "create",
"scope": "global",
"minLevel": 3
},
{
"id": "arcade.queue.manage",
"name": "Manage Queues",
"description": "Manage and configure game queues",
"resource": "arcade_queue",
"action": "manage",
"scope": "global",
"minLevel": 3
}
],
"resources": [
{
"id": "arcade_lobby",
"name": "Arcade Lobby",
"type": "component",
"description": "Main arcade lobby interface",
"actions": ["read"]
},
{
"id": "arcade_party",
"name": "Party",
"type": "entity",
"description": "Party queue resources",
"actions": ["read", "create", "delete"]
},
{
"id": "arcade_tournament",
"name": "Tournament",
"type": "entity",
"description": "Tournament resources",
"actions": ["read", "create", "update", "delete"]
},
{
"id": "arcade_queue",
"name": "Game Queue",
"type": "entity",
"description": "Game matchmaking queues",
"actions": ["read", "manage"]
}
]
}