From 912e298043b2da8fa1fa3769fb69b930c569141c Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Mon, 20 Jul 2020 15:42:47 -0700 Subject: [PATCH] Whitelist -> Allowlist per https://tools.ietf.org/id/draft-knodel-terminology-01.html --- authority/provisioner/oidc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/provisioner/oidc.go b/authority/provisioner/oidc.go index e675c503..c7acc6f5 100644 --- a/authority/provisioner/oidc.go +++ b/authority/provisioner/oidc.go @@ -69,7 +69,7 @@ type OIDC struct { getIdentityFunc GetIdentityFunc } -// IsAdmin returns true if the given email is in the Admins whitelist, false +// IsAdmin returns true if the given email is in the Admins allowlist, false // otherwise. func (o *OIDC) IsAdmin(email string) bool { email = sanitizeEmail(email)