secubox-openwrt/package/secubox/luci-app-photoprism/root/usr/share/rpcd/acl.d/luci-photoprism.json
CyberMind-FR 363e2af9d6 feat(photoprism): Add configurable originals_path via UCI/LuCI
- Add originals_path option to UCI config (default: /srv/photoprism/originals)
- Add set_config RPC method to update originals_path from LuCI
- Add Storage Settings section to LuCI dashboard
- Update LXC config to use configurable ORIGINALS_PATH
- Update get_stats to scan originals_path instead of data_path/originals
- Lyrion media_path already configurable via Settings page

Both services now support external mount points:
- PhotoPrism: /mnt/PHOTO for photos
- Lyrion: /mnt/MUSIC for music

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06 11:34:09 +01:00

33 lines
479 B
JSON

{
"luci-app-photoprism": {
"description": "Grant access to PhotoPrism Gallery",
"read": {
"ubus": {
"luci.photoprism": [
"status",
"get_config",
"get_stats",
"logs"
]
},
"uci": ["photoprism"]
},
"write": {
"ubus": {
"luci.photoprism": [
"start",
"stop",
"restart",
"install",
"uninstall",
"index",
"import",
"emancipate",
"set_config"
]
},
"uci": ["photoprism"]
}
}
}