Files
NeoTachyon/luci-app-tachyon/root/usr/share/rpcd/acl.d/luci-app-tachyon.json
T

80 lines
1.6 KiB
JSON

{
"luci-app-tachyon": {
"description": "Grant UCI and RPC access to LuCI app Tachyon",
"read": {
"file": {
"/etc/init.d/tachyon": [
"exec"
],
"/etc/config/tachyon": [
"read"
],
"/sbin/logread": [
"exec"
],
"/var/run/tachyon/section-cache/*": [
"read"
],
"/var/run/tachyon/component-actions/*": [
"read"
],
"/var/run/tachyon/ui-state/*": [
"read"
],
"/var/run/tachyon/ui-state/service-actions/*": [
"read"
],
"/var/run/tachyon/ui-state/latency-actions/*": [
"read"
],
"/usr/bin/tachyon": [
"exec"
],
"/usr/bin/sing-box": [
"exec"
],
"/usr/sbin/sing-box": [
"exec"
],
"/bin/uclient-fetch": [
"exec"
],
"/usr/bin/wget": [
"exec"
]
},
"ubus": {
"luci-rpc": [
"getDHCPLeases",
"getHostHints"
],
"network.interface": [
"dump"
],
"service": [
"list"
]
},
"uci": [
"tachyon"
]
},
"write": {
"file": {
"/var/run/tachyon/ui-state/*": [
"write"
],
"/var/run/tachyon/ui-state/service-actions/*": [
"write"
],
"/var/run/tachyon/ui-state/latency-actions/*": [
"write"
]
},
"uci": [
"tachyon"
]
}
}
}