summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-frpc/root/usr/share
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-02-02 22:30:28 +0100
committerGitHub <noreply@github.com>2020-02-02 22:30:28 +0100
commit3d63732c4e22260148761ef57afb3500cb5a0fab (patch)
treed9257b0c3c9230dd0d2527fdcb1e0094c25f01ce /applications/luci-app-frpc/root/usr/share
parenta50e25ddfd7ff0671d505aeb39208de3378ad33c (diff)
parent51d38ee06dc871027387735185af5e2c4cb93736 (diff)
Merge pull request #3173 from ysc3839/frp
[RFC] luci-app-frp: add new packages
Diffstat (limited to 'applications/luci-app-frpc/root/usr/share')
-rw-r--r--applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json9
-rw-r--r--applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json8
2 files changed, 17 insertions, 0 deletions
diff --git a/applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json b/applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json
new file mode 100644
index 0000000000..26a0f2b1cf
--- /dev/null
+++ b/applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json
@@ -0,0 +1,9 @@
+{
+ "admin/services/frpc": {
+ "title": "frp Client",
+ "action": {
+ "type": "view",
+ "path": "frpc"
+ }
+ }
+}
diff --git a/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
new file mode 100644
index 0000000000..970b95780c
--- /dev/null
+++ b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
@@ -0,0 +1,8 @@
+{
+ "luci-app-frpc": {
+ "description": "Grant access to LuCI app frpc",
+ "write": {
+ "uci": ["frpc"]
+ }
+ }
+}