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.1 KiB
JSON
86 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
|
|
"schemaVersion": "1.0.0",
|
|
"package": "stream_cast",
|
|
"description": "Stream Cast access permissions for streaming and broadcasting",
|
|
"permissions": [
|
|
{
|
|
"id": "stream.view",
|
|
"name": "View Streams",
|
|
"description": "View streams",
|
|
"resource": "stream",
|
|
"action": "read",
|
|
"scope": "global",
|
|
"minLevel": 2
|
|
},
|
|
{
|
|
"id": "stream.broadcast",
|
|
"name": "Start Broadcast",
|
|
"description": "Start live broadcast",
|
|
"resource": "stream",
|
|
"action": "execute",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "stream.create",
|
|
"name": "Create Stream Channels",
|
|
"description": "Create stream channels",
|
|
"resource": "stream",
|
|
"action": "create",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "stream.scene.manage",
|
|
"name": "Manage Scenes",
|
|
"description": "Manage stream scenes",
|
|
"resource": "scene",
|
|
"action": "manage",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "stream.schedule",
|
|
"name": "Manage Schedule",
|
|
"description": "Manage stream schedules",
|
|
"resource": "schedule",
|
|
"action": "manage",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
},
|
|
{
|
|
"id": "stream.moderate",
|
|
"name": "Moderate Stream",
|
|
"description": "Use moderation controls during live streams",
|
|
"resource": "stream",
|
|
"action": "manage",
|
|
"scope": "global",
|
|
"minLevel": 3
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "stream",
|
|
"name": "Stream",
|
|
"type": "custom",
|
|
"description": "Live stream resources",
|
|
"actions": ["read", "create", "execute", "manage"]
|
|
},
|
|
{
|
|
"id": "scene",
|
|
"name": "Scene",
|
|
"type": "custom",
|
|
"description": "Stream scene resources",
|
|
"actions": ["read", "create", "manage", "delete"]
|
|
},
|
|
{
|
|
"id": "schedule",
|
|
"name": "Schedule",
|
|
"type": "custom",
|
|
"description": "Stream schedule resources",
|
|
"actions": ["read", "create", "manage", "delete"]
|
|
}
|
|
]
|
|
}
|