summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sqm/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-sqm/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json b/applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json
index 583a54ae5a..2b56b1fc78 100644
--- a/applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json
+++ b/applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json
@@ -2,7 +2,15 @@
"luci-app-sqm": {
"description": "Grant UCI access for luci-app-sqm",
"read": {
- "uci": [ "sqm" ]
+ "file": {
+ "/var/run/sqm/available_qdiscs": [ "list" ],
+ "/usr/lib/sqm/*.qos.help": [ "read" ]
+ },
+ "uci": [ "sqm" ],
+ "ubus": {
+ "file": [ "read", "list" ],
+ "luci": [ "setInitAction" ]
+ }
},
"write": {
"uci": [ "sqm" ]