summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root/usr')
-rw-r--r--applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json
new file mode 100644
index 0000000000..85d6e94a28
--- /dev/null
+++ b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json
@@ -0,0 +1,26 @@
+{
+ "attendedsysupgrade": {
+ "description": "attended sysupgrade via rpcd and luci",
+ "read": {
+ "ubus": {
+ "attendedsysupgrade": [
+ "sysupgrade"
+ ],
+ "system": [
+ "board"
+ ],
+ "uci": [
+ "get"
+ ]
+ },
+ "uci": [
+ "*"
+ ]
+ },
+ "write": {
+ "cgi-io": [
+ "upload"
+ ]
+ }
+ }
+}