small-package/luci-app-v2raya/root/usr/share/rpcd/acl.d/luci-app-v2raya.json

26 lines
492 B
JSON

{
"luci-app-v2raya": {
"description": "Grant access to v2rayA configuration",
"read": {
"file": {
"/bin/mkdir -p /etc/v2raya/": [ "exec" ],
"/var/log/v2raya/v2raya.log": [ "read" ]
},
"ubus": {
"service": [ "list" ]
},
"uci": [ "v2raya" ]
},
"write": {
"file": {
"/etc/v2raya/grpc_certificate.crt": [ "write" ],
"/etc/v2raya/grpc_private.key": [ "write" ]
},
"ubus": {
"luci": [ "setInitAction" ]
},
"uci": [ "v2raya" ]
}
}
}