Adds get_gitea_config, gitea_list_repos to read permissions and save_gitea_config, gitea_clone, gitea_pull, preview_zip, upload_zip to write permissions, fixing "Access denied" (-32002) errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
759 B
JSON
30 lines
759 B
JSON
{
|
|
"luci-app-streamlit": {
|
|
"description": "Grant access to Streamlit Platform management",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.streamlit": [
|
|
"get_status", "get_config", "get_logs",
|
|
"list_apps", "get_app", "get_install_progress",
|
|
"list_instances",
|
|
"get_gitea_config", "gitea_list_repos"
|
|
]
|
|
},
|
|
"uci": ["streamlit"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.streamlit": [
|
|
"save_config", "start", "stop", "restart",
|
|
"install", "uninstall", "update",
|
|
"add_app", "remove_app", "set_active_app", "upload_app",
|
|
"preview_zip", "upload_zip",
|
|
"add_instance", "remove_instance", "enable_instance", "disable_instance",
|
|
"save_gitea_config", "gitea_clone", "gitea_pull"
|
|
]
|
|
},
|
|
"uci": ["streamlit"]
|
|
}
|
|
}
|
|
}
|