summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-frpc/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-frpc/root')
-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 000000000..26a0f2b1c
--- /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 000000000..970b95780
--- /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"]
+ }
+ }
+}