diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2023-08-09 01:44:39 +0300 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2023-08-09 08:53:57 +0200 |
commit | a06ca479115d5924eed785c7435ba37fbef422ee (patch) | |
tree | 099159b02d43701b723629079ae9da06caf1f5f8 /applications/luci-app-email/root/usr | |
parent | 48a2611fb0b8881fbf31a0f3dc30b207b6260f8d (diff) |
luci-app-email: configure EmailRelay
The EmailRelay is an SMTP and POP3 server.
It's the only server that has UCI config.
That's why the app is called just Email.
If any new mail server added we can create a separate tab within the same app.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* Improve translation handling
* Update i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-email/root/usr')
-rw-r--r-- | applications/luci-app-email/root/usr/share/luci/menu.d/luci-app-email.json | 13 | ||||
-rw-r--r-- | applications/luci-app-email/root/usr/share/rpcd/acl.d/luci-app-email.json | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/applications/luci-app-email/root/usr/share/luci/menu.d/luci-app-email.json b/applications/luci-app-email/root/usr/share/luci/menu.d/luci-app-email.json new file mode 100644 index 0000000000..eee57860a9 --- /dev/null +++ b/applications/luci-app-email/root/usr/share/luci/menu.d/luci-app-email.json @@ -0,0 +1,13 @@ +{ + "admin/services/email": { + "title": "Email server", + "order": 50, + "action": { + "type": "view", + "path": "email/emailrelay" + }, + "depends": { + "acl": [ "luci-app-email" ] + } + } +} diff --git a/applications/luci-app-email/root/usr/share/rpcd/acl.d/luci-app-email.json b/applications/luci-app-email/root/usr/share/rpcd/acl.d/luci-app-email.json new file mode 100644 index 0000000000..1a3147e45c --- /dev/null +++ b/applications/luci-app-email/root/usr/share/rpcd/acl.d/luci-app-email.json @@ -0,0 +1,14 @@ +{ + "luci-app-email": { + "read": { + "uci": [ + "emailrelay" + ] + }, + "write": { + "uci": [ + "emailrelay" + ] + } + } +} |