summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json')
-rw-r--r--applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json29
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"
+ ]
+ }
+ }
+ }
+}