From 34fa5122f98af4ac635dfc26a64f6d2d3e4fafcb Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Wed, 6 Nov 2019 01:33:53 +0100 Subject: luci-app-ddns: convert to client side implementation Signed-off-by: Ansuel Smith --- .../root/usr/share/rpcd/acl.d/luci-app-ddns.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json (limited to 'applications/luci-app-ddns/root/usr/share/rpcd/acl.d') diff --git a/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json b/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json new file mode 100644 index 0000000000..aa68bdf03c --- /dev/null +++ b/applications/luci-app-ddns/root/usr/share/rpcd/acl.d/luci-app-ddns.json @@ -0,0 +1,17 @@ +{ + "luci-app-ddns": { + "description": "Grant access to ddns procedures", + "read": { + "ubus": { + "luci.ddns": [ "get_services_status", "get_ddns_state", "get_env", "get_services_log" ], + "luci": [ "setInitAction" ], + }, + "file": { + "/etc/ddns/services": [ "read" ], + "/etc/ddns/services_ipv6": [ "read" ], + "/usr/lib/ddns/dynamic_dns_lucihelper.sh": [ "exec" ] + }, + "uci": [ "ddns" ] + } + } +} -- cgit v1.2.3