summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json
diff options
context:
space:
mode:
authorBERENYI Balazs <balazs@wee.hu>2020-12-16 17:22:37 +0000
committerBERENYI Balazs <balazs@wee.hu>2021-01-11 20:03:34 +0000
commitec5ce985fee50d4bcb02e70ae95be68cdfafc49e (patch)
treea116f6d8177de0116da3c7d74b44a6ba81f31c9f /applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json
parenta650949e2282c4b6583f5416b83ae6a3c6c3fb63 (diff)
luci-app-softether: add basic softether status page
Signed-off-by: BERENYI Balazs <balazs@wee.hu>
Diffstat (limited to 'applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json')
-rw-r--r--applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json b/applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json
new file mode 100644
index 0000000000..900e4bed78
--- /dev/null
+++ b/applications/luci-app-softether/root/usr/share/rpcd/acl.d/luci-app-softether.json
@@ -0,0 +1,12 @@
+{
+ "luci-app-softether": {
+ "description": "Grant access to softether management",
+ "read": {
+ "cgi-io": [ "exec" ],
+ "file": {
+ "/usr/libexec/vpncmd-call account-list": [ "exec" ],
+ "/usr/libexec/vpncmd-call account-status-get *": [ "exec" ]
+ }
+ }
+ }
+}