summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-02-09 17:45:52 -1000
committerPaul Spooren <mail@aparcar.org>2021-03-07 23:17:06 -1000
commit25df4114ec05d1c96e04ba2121394b3c31842e09 (patch)
tree66d553c2052bb6e696f3d01186e22fe8581fdd84 /applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
parent5af5f4a1ee5cbcd4a3099e6e210aca0099973410 (diff)
luci-app-attendedsysupgrade: Render on client
Use new LuCI JavaScript code instead of a mix of Lua and JS. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json')
-rw-r--r--applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
new file mode 100644
index 0000000000..e3ceeaa35d
--- /dev/null
+++ b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
@@ -0,0 +1,17 @@
+{
+ "luci-app-attendedsysupgrade": {
+ "description": "Grant UCI access to LuCI app attendedsysupgrade",
+ "read": {
+ "uci": ["attendedsysupgrade"],
+ "ubus": {
+ "rpc-sys": ["upgrade_start", "packagelist"]
+ }
+ },
+ "write": {
+ "uci": ["attendedsysupgrade"],
+ "ubus": {
+ "rpc-sys": ["upgrade_start"]
+ }
+ }
+ }
+}