summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-acme/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-acme/root')
-rw-r--r--applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json14
-rw-r--r--applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json11
2 files changed, 25 insertions, 0 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
new file mode 100644
index 0000000000..d5cc4f70ac
--- /dev/null
+++ b/applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json
@@ -0,0 +1,14 @@
+{
+ "admin/services/acme": {
+ "title": "ACME certsP38",
+ "order": 50,
+ "action": {
+ "type": "cbi",
+ "path": "acme",
+ "post": { "cbi.submit": true }
+ },
+ "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
new file mode 100644
index 0000000000..a87529528a
--- /dev/null
+++ b/applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-acme": {
+ "description": "Grant UCI access for luci-app-acme",
+ "read": {
+ "uci": [ "acme" ]
+ },
+ "write": {
+ "uci": [ "acme" ]
+ }
+ }
+}