summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-omcproxy/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-05-13 10:22:25 +0200
committerJo-Philipp Wich <jo@mein.io>2020-05-13 10:22:25 +0200
commitf01b43c698719b17063fb6d919e47004b9d22858 (patch)
tree54041257d23e4933d752fd16e4ba45b3413d079f /applications/luci-app-omcproxy/root/usr
parent55c1ae40eea795fa302c5b4d5dc8a40a8a2a6dbb (diff)
luci-app-omcproxy: add UCI access rules
Fixes: #4042 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-omcproxy/root/usr')
-rw-r--r--applications/luci-app-omcproxy/root/usr/share/rpcd/acl.d/luci-app-omcproxy.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-omcproxy/root/usr/share/rpcd/acl.d/luci-app-omcproxy.json b/applications/luci-app-omcproxy/root/usr/share/rpcd/acl.d/luci-app-omcproxy.json
new file mode 100644
index 0000000000..63bf114234
--- /dev/null
+++ b/applications/luci-app-omcproxy/root/usr/share/rpcd/acl.d/luci-app-omcproxy.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-omcproxy": {
+ "description": "Grant UCI access for luci-app-omcproxy",
+ "read": {
+ "uci": [ "omcproxy" ]
+ },
+ "write": {
+ "uci": [ "omcproxy" ]
+ }
+ }
+}