summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-tor/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-tor/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json b/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json
new file mode 100644
index 0000000000..81bb9272bd
--- /dev/null
+++ b/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json
@@ -0,0 +1,22 @@
+{
+ "luci-app-tor": {
+ "description": "Grant UCI access for luci-app-tor",
+ "read": {
+ "ubus": {
+ "tor_rpcd.sh": [
+ "list-hs"
+ ]
+ },
+ "uci": [
+ "tor",
+ "tor-hs"
+ ]
+ },
+ "write": {
+ "uci": [
+ "tor",
+ "tor-hs"
+ ]
+ }
+ }
+}