diff options
Diffstat (limited to 'modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json')
-rwxr-xr-x | modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json b/modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json new file mode 100755 index 0000000000..4babc31b94 --- /dev/null +++ b/modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json @@ -0,0 +1,10 @@ +{ + "luci-mod-battstatus": { + "description": "Grant access to battery status", + "read": { + "ubus": { + "luci.battstatus": [ "getBatteryStatus" ] + } + } + } +} |