mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
luci-app-smartdns: fix uci control ACL
This commit is contained in:
parent
f9796bcec0
commit
620988a973
@ -7,7 +7,7 @@ LUCI_DEPENDS:=+smartdns
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_NAME:=luci-app-smartdns
|
||||
PKG_VERSION:=2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
"description": "Grant access to LuCI app smartdns",
|
||||
"read": {
|
||||
"file": {
|
||||
"uci": [ "smartdns" ],
|
||||
"/etc/smartdns/*": [ "read" ],
|
||||
"/usr/sbin/iptables": [ "exec" ],
|
||||
"/usr/sbin/ip6tables": [ "exec" ],
|
||||
@ -14,8 +15,9 @@
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"uci": [ "smartdns" ],
|
||||
"/etc/smartdns/*": [ "write" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user