summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-acme/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-acme/root/usr')
-rw-r--r--applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json5
-rw-r--r--applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json4
2 files changed, 6 insertions, 3 deletions
diff --git a/applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json b/applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json
index 5f1f95e127..0026905a48 100644
--- a/applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json
+++ b/applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json
@@ -3,9 +3,8 @@
"title": "ACME certs",
"order": 50,
"action": {
- "type": "cbi",
- "path": "acme",
- "post": { "cbi.submit": true }
+ "type": "view",
+ "path": "acme"
},
"depends": {
"acl": [ "luci-app-acme" ]
diff --git a/applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json b/applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json
index a87529528a..110f9c5451 100644
--- a/applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json
+++ b/applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json
@@ -2,6 +2,10 @@
"luci-app-acme": {
"description": "Grant UCI access for luci-app-acme",
"read": {
+ "file": {
+ "/usr/sbin/nginx": [ "read" ],
+ "/usr/sbin/uhttpd": [ "read" ]
+ },
"uci": [ "acme" ]
},
"write": {