summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-email/root/usr
diff options
context:
space:
mode:
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.json13
-rw-r--r--applications/luci-app-email/root/usr/share/rpcd/acl.d/luci-app-email.json14
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"
+ ]
+ }
+ }
+}