openwrt-bgme-feed/root/usr/share/rpcd/acl.d/luci-app-smartdns.json
bgme f0353c7f4a Squashed 'luci-app-smartdns/' content from commit f5a370f
git-subtree-dir: luci-app-smartdns
git-subtree-split: f5a370f67fdc034738edf4aeb80604fd3df3b1ed
2025-05-10 00:16:44 +08:00

26 lines
553 B
JSON

{
"luci-app-smartdns": {
"description": "Grant access to LuCI app smartdns",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/etc/smartdns/*": [ "read" ],
"/usr/libexec/smartdns-call tail": [ "exec" ],
"/usr/libexec/smartdns-call clear_log": [ "exec" ]
},
"ubus": {
"service": [ "list" ]
},
"uci": [ "smartdns" ]
},
"write": {
"file": {
"/etc/smartdns/*": [ "write" ],
"/etc/init.d/smartdns restart": [ "exec" ],
"/etc/init.d/smartdns updatefiles": [ "exec" ]
},
"uci": [ "smartdns" ]
}
}
}