summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-apinger/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorJaymin Patel <jem.patel@gmail.com>2022-07-16 18:42:47 +0530
committerJaymin Patel <jem.patel@gmail.com>2022-08-01 02:24:52 +0530
commit6c151fcddbabc0fcdd9de8c5088153e84f5b0ccd (patch)
treeb2a031eb04b09fc5c36c50231dd16b0aa4d4110d /applications/luci-app-apinger/root/usr/share/rpcd/acl.d
parentb0b9a34f8b75f9c2c91cb6a4badcc4e8e4122821 (diff)
luci-app-apinger: Add LuCI for Apinger
LuCI Support for Apinger Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
Diffstat (limited to 'applications/luci-app-apinger/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-apinger/root/usr/share/rpcd/acl.d/luci-app-apinger.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/applications/luci-app-apinger/root/usr/share/rpcd/acl.d/luci-app-apinger.json b/applications/luci-app-apinger/root/usr/share/rpcd/acl.d/luci-app-apinger.json
new file mode 100644
index 0000000000..69066081e2
--- /dev/null
+++ b/applications/luci-app-apinger/root/usr/share/rpcd/acl.d/luci-app-apinger.json
@@ -0,0 +1,19 @@
+{
+ "luci-app-apinger" : {
+ "description" : "Grant access to LuCI app Apinger",
+ "read" : {
+ "ubus" : {
+ "apinger" : [ "*" ],
+ "file": [ "stat" ],
+ "service": [ "list" ]
+ },
+ "uci": [ "apinger" ]
+ },
+ "write" : {
+ "ubus" : {
+ "apinger" : [ "*" ]
+ },
+ "uci": [ "apinger" ]
+ }
+ }
+}