- Add aliases 'issue.comment' and 'issue_comment' to GITEA_OPERATION_ALIASES so short names normalize to gitea.issue.comment - Grant 'issue.comment' (and short) in v2 example profiles for example-author and example-reviewer - Grant in gitea-mcp.example.json mdcps-reviewer - Update docs example profiles - Add test coverage for new aliases and normalization This enables gitea_create_issue_comment and list for profiles that include it, while preserving fail-closed for others and separation of duties (issue.comment does not imply pr.review etc). Closes #137
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"version": 1,
|
|
"profiles": {
|
|
"prgs": {
|
|
"base_url": "https://gitea.prgs.cc",
|
|
"username": "jcwalker3",
|
|
"auth": {
|
|
"type": "keychain",
|
|
"id": "prgs-gitea-token"
|
|
},
|
|
"default_owner": "Scaled-Tech-Consulting",
|
|
"execution_profile": "personal-prgs"
|
|
},
|
|
"mdcps": {
|
|
"base_url": "https://gitea.dadeschools.net",
|
|
"username": "913443",
|
|
"auth": {
|
|
"type": "keychain",
|
|
"id": "mdcps-gitea-token"
|
|
},
|
|
"default_owner": "Contractor",
|
|
"execution_profile": "mdcps"
|
|
},
|
|
"mdcps-reviewer": {
|
|
"base_url": "https://gitea.dadeschools.net",
|
|
"username": "913443",
|
|
"auth": {
|
|
"type": "keychain",
|
|
"id": "mdcps.gitea.reviewer.token"
|
|
},
|
|
"default_owner": "MDCPS",
|
|
"execution_profile": "mdcps-reviewer",
|
|
"allowed_operations": ["read", "review", "approve", "merge", "issue.comment"],
|
|
"forbidden_operations": ["branch.push", "pr.create"]
|
|
},
|
|
"prgs-env": {
|
|
"base_url": "https://gitea.prgs.cc",
|
|
"username": "jcwalker3",
|
|
"auth": {
|
|
"type": "env",
|
|
"name": "GITEA_TOKEN_PRGS"
|
|
},
|
|
"default_owner": "Scaled-Tech-Consulting",
|
|
"execution_profile": "personal-prgs"
|
|
}
|
|
}
|
|
}
|