- Add upload.js wizard with multi-target publishing (HexoJS, Gitea, Streamlit, MetaBlogizer) - Add submit.js for user content submission with moderation workflow - Add moderation RPCD methods: submit_for_review, list_pending, approve_submission, reject_submission - Update ACL with new moderation permissions - Add menu entries for Upload and Submit & Moderate views Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
112 lines
2.2 KiB
JSON
112 lines
2.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",
|
|
"list_instances",
|
|
"list_backups",
|
|
"get_workflow_status",
|
|
"list_profiles",
|
|
"get_haproxy_status",
|
|
"get_tor_status",
|
|
"get_instance_endpoints",
|
|
"get_instance_health",
|
|
"get_pipeline_status",
|
|
"static_list",
|
|
"get_uploads",
|
|
"list_pending",
|
|
"get_submission"
|
|
]
|
|
},
|
|
"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",
|
|
"gitea_push",
|
|
"create_instance",
|
|
"delete_instance",
|
|
"start_instance",
|
|
"stop_instance",
|
|
"create_backup",
|
|
"restore_backup",
|
|
"delete_backup",
|
|
"github_clone",
|
|
"quick_publish",
|
|
"publish_to_www",
|
|
"apply_profile",
|
|
"publish_to_haproxy",
|
|
"unpublish_from_haproxy",
|
|
"publish_to_tor",
|
|
"unpublish_from_tor",
|
|
"full_publish",
|
|
"handle_webhook",
|
|
"setup_webhook",
|
|
"static_upload",
|
|
"static_create",
|
|
"static_delete",
|
|
"static_publish",
|
|
"static_delete_file",
|
|
"static_configure_auth",
|
|
"upload_article",
|
|
"upload_pdf",
|
|
"upload_html",
|
|
"publish_draft",
|
|
"unpublish_post",
|
|
"submit_for_review",
|
|
"approve_submission",
|
|
"reject_submission"
|
|
]
|
|
},
|
|
"uci": ["hexojs"]
|
|
}
|
|
}
|
|
}
|