Просмотр исходного кода

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

Carl Tashian 6 лет назад
Родитель
Сommit
912e298043
1 измененных файлов с 1 добавлено и 1 удалено
  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)