Files
metabuilder/packages/github_tools/permissions/roles.json
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.2 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
"schemaVersion": "1.0.0",
"package": "github_tools",
"description": "GitHub Tools access permissions",
"permissions": [
{
"id": "github.runs.view",
"name": "View GitHub Actions Runs",
"description": "View GitHub Actions workflow runs",
"resource": "github_runs",
"action": "read",
"scope": "global",
"minLevel": 2
},
{
"id": "github.runs.analyze",
"name": "Analyze GitHub Actions Runs",
"description": "Analyze GitHub Actions run statistics",
"resource": "github_runs",
"action": "read",
"scope": "global",
"minLevel": 2
},
{
"id": "github.workflow.trigger",
"name": "Trigger Workflow Runs",
"description": "Trigger new GitHub Actions workflow runs",
"resource": "github_workflow",
"action": "execute",
"scope": "global",
"minLevel": 3
},
{
"id": "github.logs.view",
"name": "View Workflow Logs",
"description": "View job logs from workflow runs",
"resource": "github_logs",
"action": "read",
"scope": "global",
"minLevel": 2
},
{
"id": "github.config.manage",
"name": "Manage GitHub Configuration",
"description": "Configure GitHub repository settings and tokens",
"resource": "github_config",
"action": "update",
"scope": "global",
"minLevel": 3
}
],
"resources": [
{
"id": "github_runs",
"name": "GitHub Workflow Runs",
"type": "api",
"description": "GitHub Actions workflow runs",
"actions": ["read"]
},
{
"id": "github_workflow",
"name": "GitHub Workflows",
"type": "api",
"description": "GitHub Actions workflow definitions",
"actions": ["read", "execute"]
},
{
"id": "github_logs",
"name": "GitHub Job Logs",
"type": "api",
"description": "GitHub Actions job logs",
"actions": ["read"]
},
{
"id": "github_config",
"name": "GitHub Configuration",
"type": "custom",
"description": "GitHub integration configuration",
"actions": ["read", "update"]
}
]
}