summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
diff options
context:
space:
mode:
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"]
+ }
+ }
+ }
+}