diff options
author | Jaymin Patel <jem.patel@gmail.com> | 2022-09-08 10:05:13 +0530 |
---|---|---|
committer | Jaymin Patel <jem.patel@gmail.com> | 2022-10-23 16:19:33 +0530 |
commit | d1a82d28868678716f16472f70b46557ba99f8df (patch) | |
tree | 488200d40fbc8a6b0515ad7e3adeb93fb622ed89 /applications/luci-app-keepalived/root/usr/share/rpcd | |
parent | 3e9d9a9dbb045c24eb93643838f8e8e3b9074e4b (diff) |
luci-app-keepalived: Add LuCI for keepalived
LuCI Support for Keepalived
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
Diffstat (limited to 'applications/luci-app-keepalived/root/usr/share/rpcd')
-rw-r--r-- | applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json b/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json new file mode 100644 index 0000000000..0c8b676e61 --- /dev/null +++ b/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json @@ -0,0 +1,17 @@ +{ + "luci-app-keepalived" : { + "description" : "Grant access to LuCI app keepalived", + "read" : { + "ubus" : { + "keepalived" : [ "*" ] + }, + "uci": [ "keepalived" ] + }, + "write" : { + "uci": [ "keepalived" ], + "file" : { + "/etc/keepalived/keys/*" : [ "write" ] + } + } + } +} |