diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2020-04-30 12:36:38 +0200 |
---|---|---|
committer | Toke Høiland-Jørgensen <toke@toke.dk> | 2020-04-30 12:36:38 +0200 |
commit | 3db40c4ab2373cf23bf10427eb35cb294e2f74f0 (patch) | |
tree | c99c8c1922df46069bc0e44c37a0787137021d62 /applications/luci-app-acme/root/usr/share | |
parent | 551d839f90853b58f81d124c77442009d4df0cb4 (diff) |
luci-app-acme: move from packages feed
Move the ACME luci app from the integrated Makefile in the packages feed,
to be able to take advantage of tree-wide improvements to luci
applications, and translation.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Diffstat (limited to 'applications/luci-app-acme/root/usr/share')
-rw-r--r-- | applications/luci-app-acme/root/usr/share/luci/menu.d/luci-app-acme.json | 14 | ||||
-rw-r--r-- | applications/luci-app-acme/root/usr/share/rpcd/acl.d/luci-app-acme.json | 11 |
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" ] + } + } +} |