Introduce a GiteaOAuthValidator for JWT and userinfo validation and fallbacks, add /oauth/token proxy, and thread per-user tokens through the request context and automation paths. Update config and .env.example for OAuth-first mode, add OpenAPI, extensive unit/integration tests, GitHub/Gitea CI workflows, docs, and lint/test enforcement (>=80% cov).
9 lines
105 B
JSON
9 lines
105 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(python -m pytest:*)",
|
|
"Bash(python:*)"
|
|
]
|
|
}
|
|
}
|