summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json
blob: 99960ff66d505276f8c58ca6d32c589d20312e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "luci-app-example": {
    "description": "Grant UCI and RPC access to LuCI app example",
    "read": {
      "file": {
        "/etc/example.json": [ "read" ]
      },
      "ubus": {
        "luci.example": [
          "get_sample1",
          "get_sample2"
        ]
      },
      "uci": [
        "example"
      ]
    },
    "write": {
      "file": {
        "/etc/example.json": [ "write" ]
      },
      "uci": [
        "example"
      ]
    }
  }
}