acme: Add acl_depends annotations to luci-app-acme
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
parent
3c34b151f6
commit
2fadd0279f
2 changed files with 7 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=acme
|
PKG_NAME:=acme
|
||||||
PKG_VERSION:=2.8.5
|
PKG_VERSION:=2.8.5
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
module("luci.controller.acme", package.seeall)
|
module("luci.controller.acme", package.seeall)
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
entry({"admin", "services", "acme"},
|
local page
|
||||||
|
|
||||||
|
page = entry({"admin", "services", "acme"},
|
||||||
cbi("acme"),
|
cbi("acme"),
|
||||||
_("ACME certs"), 50).dependent = false
|
_("ACME certs"), 50)
|
||||||
|
page.dependent = false
|
||||||
|
page.acl_depends = { "luci-app-acme" }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue