diff options
author | Nick Peng <pymumu@gmail.com> | 2022-10-14 17:57:04 +0800 |
---|---|---|
committer | Nick Peng <pymumu@gmail.com> | 2022-10-14 18:02:12 +0800 |
commit | 1564084bcb330040ab56e60720e9e037f1e7e5c0 (patch) | |
tree | 6f7d719db61e6f5b16716f2ecb098af8b8daef24 /applications/luci-app-smartdns/root/usr/share/rpcd/acl.d | |
parent | a12b467a65ff3f9ce9ee5eb8b4f69ac34ed6ca36 (diff) |
luci-app-smartdns: remove unnecessary permissions
Signed-off-by: Nick Peng <pymumu@gmail.com>
Diffstat (limited to 'applications/luci-app-smartdns/root/usr/share/rpcd/acl.d')
-rw-r--r-- | applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json b/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json index 22cba75732..ef1e386b0d 100644 --- a/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json +++ b/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json @@ -3,9 +3,7 @@ "description": "Grant access to LuCI app smartdns", "read": { "file": { - "/etc/smartdns/*": [ "read" ], - "/usr/sbin/smartdns": [ "exec" ], - "/etc/init.d/smartdns restart" : [ "exec" ] + "/etc/smartdns/*": [ "read" ] }, "ubus": { "service": [ "list" ] @@ -14,7 +12,8 @@ }, "write": { "file": { - "/etc/smartdns/*": [ "write" ] + "/etc/smartdns/*": [ "write" ], + "/etc/init.d/smartdns restart": [ "exec" ] }, "uci": [ "smartdns" ] } |