diff options
author | Duncan Hill <github.com@cricalix.net> | 2023-12-04 21:12:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 22:12:28 +0100 |
commit | 28f805b2e5f95e04515bd7d045a103cc3a366c2c (patch) | |
tree | 4c52498b38b97efdc3660c404a0341027d391518 /applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json | |
parent | a5786b5f2f68596b2ea8441fc8ad8ad7cf2ce2a9 (diff) |
luci-app-example: Update with more documentation, more examples (#6503)
* luci-app-example: Update with more documentation, examples
* Update translations file
* Move more YAML support to .md file, improve README
* luci-app-example: Update with more documentation, examples
* luci-app-example: Fix missed call to load_sample_yaml
* Format with tabs by using jsbeautify
Diffstat (limited to 'applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json')
-rw-r--r-- | applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json b/applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json index 136f9aed55..b6849ffe6c 100644 --- a/applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json +++ b/applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json @@ -1,10 +1,11 @@ { "luci-app-example": { - "description": "Grant UCI access to LuCI app example", + "description": "Grant UCI and RPC access to LuCI app example", "read": { "ubus": { - "uci": [ - "get" + "luci.example": [ + "get_sample1", + "get_sample2" ] }, "uci": [ @@ -12,11 +13,6 @@ ] }, "write": { - "ubus": { - "uci": [ - "set", "commit" - ] - }, "uci": [ "example" ] |