summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-polipo/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-polipo/root')
-rw-r--r--applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json1
-rw-r--r--applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json11
2 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json b/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json
index 6fea92d283..9779bc0e61 100644
--- a/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json
+++ b/applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json
@@ -6,6 +6,7 @@
"path": "admin/services/polipo/config"
},
"depends": {
+ "acl": [ "luci-app-polipo" ],
"uci": { "polipo": true }
}
},
diff --git a/applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json b/applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json
new file mode 100644
index 0000000000..5b9dfa88fa
--- /dev/null
+++ b/applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-polipo": {
+ "description": "Grant UCI access for luci-app-polipo",
+ "read": {
+ "uci": [ "polipo" ]
+ },
+ "write": {
+ "uci": [ "polipo" ]
+ }
+ }
+}