diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-07-23 08:01:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 08:01:40 +0200 |
commit | e8cba39201da29cd272fab101b8bfcad8aef0022 (patch) | |
tree | 517bed8c113bfd6adbf346f01cd8baa8fec4e80d /applications/luci-app-acme/root/usr | |
parent | 4ba3f5954383da45d14c9e2c3308416361a91a73 (diff) | |
parent | 18b151247bcb2f5a955a1df8e26d2cd2fa062eb0 (diff) |
Merge pull request #4200 from zhanhb/luci-app-acme
luci-app-acme: convert to client side rendering
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.json | 5 | ||||
-rw-r--r-- | applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json | 4 |
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": { |