secubox-openwrt/package/secubox/luci-app-ollama/root/usr/share/rpcd/acl.d/luci-app-ollama.json
CyberMind-FR 48deeccb99 feat(luci-app-ollama): Add LuCI dashboard for Ollama LLM
New LuCI application for Ollama management:
- Dashboard with service status and controls
- Model management (pull, remove, list)
- Chat interface with model selection
- Settings page for configuration

Files:
- RPCD backend (luci.ollama)
- Dashboard, Models, Chat, Settings views
- ACL and menu definitions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 19:02:12 +01:00

37 lines
594 B
JSON

{
"luci-app-ollama": {
"description": "Grant access to LuCI Ollama Dashboard",
"read": {
"ubus": {
"luci.ollama": [
"status",
"models",
"config",
"health"
],
"system": [ "info", "board" ],
"file": [ "read", "stat", "exec" ]
},
"uci": [ "ollama" ],
"file": {
"/etc/config/ollama": [ "read" ],
"/srv/ollama/*": [ "read" ]
}
},
"write": {
"ubus": {
"luci.ollama": [
"start",
"stop",
"restart",
"model_pull",
"model_remove",
"chat",
"generate"
]
},
"uci": [ "ollama" ]
}
}
}