Explorar o código

Whitelist -> Allowlist per https://tools.ietf.org/id/draft-knodel-terminology-01.html

Carl Tashian %!s(int64=6) %!d(string=hai) anos
pai
achega
912e298043
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      authority/provisioner/oidc.go

+ 1 - 1
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)