fix(p2p): Add ACL permissions for Gitea and backup RPCD methods

Add missing ACL permissions for new RPCD methods:

Read permissions:
- get_gitea_config
- list_gitea_repos
- get_gitea_commits
- list_local_backups

Write permissions:
- set_gitea_config
- create_gitea_repo
- push_gitea_backup
- pull_gitea_backup
- create_local_backup
- restore_local_backup

Fixes: RPC call failed with error -32002: Access denied

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-30 12:22:04 +01:00
parent d57e954d21
commit b7acc04a20

View File

@ -13,7 +13,11 @@
"get_wireguard_config",
"get_haproxy_config",
"get_registry",
"health_check"
"health_check",
"get_gitea_config",
"list_gitea_repos",
"get_gitea_commits",
"list_local_backups"
],
"uci": ["get", "state"]
},
@ -30,7 +34,13 @@
"set_dns_config",
"set_wireguard_config",
"set_haproxy_config",
"register_url"
"register_url",
"set_gitea_config",
"create_gitea_repo",
"push_gitea_backup",
"pull_gitea_backup",
"create_local_backup",
"restore_local_backup"
],
"uci": ["set", "delete", "commit", "apply"]
},