luci-app-smartdns: remove unnecessary permissions
Signed-off-by: Nick Peng <pymumu@gmail.com>
This commit is contained in:
parent
a12b467a65
commit
1564084bcb
1 changed files with 3 additions and 4 deletions
|
@ -3,9 +3,7 @@
|
||||||
"description": "Grant access to LuCI app smartdns",
|
"description": "Grant access to LuCI app smartdns",
|
||||||
"read": {
|
"read": {
|
||||||
"file": {
|
"file": {
|
||||||
"/etc/smartdns/*": [ "read" ],
|
"/etc/smartdns/*": [ "read" ]
|
||||||
"/usr/sbin/smartdns": [ "exec" ],
|
|
||||||
"/etc/init.d/smartdns restart" : [ "exec" ]
|
|
||||||
},
|
},
|
||||||
"ubus": {
|
"ubus": {
|
||||||
"service": [ "list" ]
|
"service": [ "list" ]
|
||||||
|
@ -14,7 +12,8 @@
|
||||||
},
|
},
|
||||||
"write": {
|
"write": {
|
||||||
"file": {
|
"file": {
|
||||||
"/etc/smartdns/*": [ "write" ]
|
"/etc/smartdns/*": [ "write" ],
|
||||||
|
"/etc/init.d/smartdns restart": [ "exec" ]
|
||||||
},
|
},
|
||||||
"uci": [ "smartdns" ]
|
"uci": [ "smartdns" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue