diff options
author | Stan Grishin <stangri@melmac.ca> | 2022-12-03 02:32:45 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.ca> | 2022-12-03 19:46:53 +0000 |
commit | 11073e5ee5141387b35cf7598007308cdc175185 (patch) | |
tree | 400f910925b320241e65fc41538155adf9abde18 /applications/luci-app-pbr/root/usr/share/rpcd | |
parent | c87ff603e8cd6514e50299239e1ce50e4d1c038c (diff) |
luci-app-pbr: initial commit
Depends on https://github.com/openwrt/packages/pull/19763
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-pbr/root/usr/share/rpcd')
-rw-r--r-- | applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json b/applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json new file mode 100644 index 0000000000..39178f3790 --- /dev/null +++ b/applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json @@ -0,0 +1,29 @@ +{ + "luci-app-pbr": { + "description": "Grant UCI and file access for luci-app-pbr", + "read": { + "ubus": { + "luci.pbr": [ + "getGateways", + "getInitList", + "getInitStatus", + "getInterfaces", + "getPlatformSupport" + ] + }, + "uci": [ + "pbr" + ] + }, + "write": { + "uci": [ + "pbr" + ], + "ubus": { + "luci.pbr": [ + "setInitAction" + ] + } + } + } +} |