summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/root/usr
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-01-30 23:56:21 +0100
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2023-12-30 23:38:19 +0000
commitcbfa9ca8d6c873cc8e0a1fc50f8fc494be37aef5 (patch)
tree1d307ad664c8e41ec9b83f7c21ea343fd187d294 /modules/luci-mod-system/root/usr
parent2e4900eb43fe0687fb116e7defea4055b9c9b8a2 (diff)
luci-mod-system: drop not used setInitAction ubus luci permission
Drop not used setInitAction ubus luci method permission from luci-mod-system-uhttpd and luci-mod-system-ssh. They are not used in the related js files and should be removed as the related js doesn't use/require them. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-system/root/usr')
-rw-r--r--modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json b/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
index 4fa39613b7..0852816244 100644
--- a/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
+++ b/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
@@ -35,7 +35,7 @@
},
"ubus": {
"file": [ "write" ],
- "luci": [ "setInitAction", "setLocaltime" ]
+ "luci": [ "setLocaltime" ]
},
"uci": [ "dropbear" ]
}
@@ -47,9 +47,6 @@
"uci": [ "uhttpd" ]
},
"write": {
- "ubus": {
- "luci": [ "setInitAction" ]
- },
"uci": [ "uhttpd" ]
}
},