mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
Merge pull request #6022 from pymumu/openwrt-master
luci-app-smartdns: remove unnecessary permissions
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user