Merge pull request #6022 from pymumu/openwrt-master
luci-app-smartdns: remove unnecessary permissions
This commit is contained in:
commit
7fb235cb88
1 changed files with 3 additions and 4 deletions
|
@ -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" ]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue