mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +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
|
LUCI_PKGARCH:=all
|
||||||
PKG_NAME:=luci-app-smartdns
|
PKG_NAME:=luci-app-smartdns
|
||||||
PKG_VERSION:=2
|
PKG_VERSION:=2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
"description": "Grant access to LuCI app smartdns",
|
"description": "Grant access to LuCI app smartdns",
|
||||||
"read": {
|
"read": {
|
||||||
"file": {
|
"file": {
|
||||||
|
"uci": [ "smartdns" ],
|
||||||
"/etc/smartdns/*": [ "read" ],
|
"/etc/smartdns/*": [ "read" ],
|
||||||
"/usr/sbin/iptables": [ "exec" ],
|
"/usr/sbin/iptables": [ "exec" ],
|
||||||
"/usr/sbin/ip6tables": [ "exec" ],
|
"/usr/sbin/ip6tables": [ "exec" ],
|
||||||
@ -14,8 +15,9 @@
|
|||||||
},
|
},
|
||||||
"write": {
|
"write": {
|
||||||
"file": {
|
"file": {
|
||||||
|
"uci": [ "smartdns" ],
|
||||||
"/etc/smartdns/*": [ "write" ]
|
"/etc/smartdns/*": [ "write" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user