mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
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:
@@ -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)?
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user