secubox-openwrt/package/secubox/luci-app-hexojs/root/usr/share/rpcd/acl.d/luci-app-hexojs.json
CyberMind-FR 0be687b89b feat(hexojs): Add Build & Publish LuCI interface for Gitea workflow
- Add publish_to_www RPCD method to publish static files to /www/blog
- Add Build & Publish card in sync.js with configurable publish path
- Add generate RPC call for building site
- Fix file permissions for all RPCD scripts and init.d scripts
- Bump luci-app-hexojs to 1.0.0-r3

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:18:40 +01:00

67 lines
1.2 KiB
JSON

{
"luci-app-hexojs": {
"description": "Grant access to Hexo CMS",
"read": {
"ubus": {
"luci.hexojs": [
"status",
"site_stats",
"list_posts",
"get_post",
"list_drafts",
"search_posts",
"list_categories",
"list_tags",
"list_media",
"list_apps",
"deploy_status",
"preview_status",
"get_config",
"get_theme_config",
"list_presets",
"git_status",
"git_log",
"git_get_credentials",
"gitea_status"
]
},
"uci": ["hexojs"]
},
"write": {
"ubus": {
"luci.hexojs": [
"create_post",
"update_post",
"delete_post",
"publish_post",
"delete_media",
"create_app",
"generate",
"clean",
"deploy",
"preview_start",
"save_config",
"save_theme_config",
"apply_preset",
"service_start",
"service_stop",
"service_restart",
"git_init",
"git_clone",
"git_pull",
"git_push",
"git_fetch",
"git_reset",
"git_set_credentials",
"gitea_setup",
"gitea_clone",
"gitea_sync",
"gitea_save_config",
"publish_to_www"
]
},
"uci": ["hexojs"]
}
}
}