Browse Source

acme: Add acl_depends annotations to luci-app-acme

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
lilik-openwrt-22.03
Toke Høiland-Jørgensen 5 years ago
parent
commit
2fadd0279f
2 changed files with 7 additions and 3 deletions
  1. +1
    -1
      net/acme/Makefile
  2. +6
    -2
      net/acme/files/acme-controller.lua

+ 1
- 1
net/acme/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=acme
PKG_VERSION:=2.8.5
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?


+ 6
- 2
net/acme/files/acme-controller.lua View File

@ -1,7 +1,11 @@
module("luci.controller.acme", package.seeall)
function index()
entry({"admin", "services", "acme"},
local page
page = entry({"admin", "services", "acme"},
cbi("acme"),
_("ACME certs"), 50).dependent = false
_("ACME certs"), 50)
page.dependent = false
page.acl_depends = { "luci-app-acme" }
end

Loading…
Cancel
Save