Skip to content

Commit efc1899

Browse files
committed
luci: remove unnecessary permissions
1 parent 9bc857f commit efc1899

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package/luci/files/root/usr/share/rpcd/acl.d/luci-app-smartdns.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"description": "Grant access to LuCI app smartdns",
44
"read": {
55
"file": {
6-
"/etc/smartdns/*": [ "read" ],
7-
"/usr/sbin/smartdns": [ "exec" ],
8-
"/etc/init.d/smartdns restart" : [ "exec" ]
6+
"/etc/smartdns/*": [ "read" ]
97
},
108
"ubus": {
119
"service": [ "list" ]
@@ -14,7 +12,8 @@
1412
},
1513
"write": {
1614
"file": {
17-
"/etc/smartdns/*": [ "write" ]
15+
"/etc/smartdns/*": [ "write" ],
16+
"/etc/init.d/smartdns restart": [ "exec" ]
1817
},
1918
"uci": [ "smartdns" ]
2019
}

0 commit comments

Comments
 (0)