Переглянути джерело

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

Carl Tashian 6 роки тому
батько
коміт
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
 	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.
 // otherwise.
 func (o *OIDC) IsAdmin(email string) bool {
 func (o *OIDC) IsAdmin(email string) bool {
 	email = sanitizeEmail(email)
 	email = sanitizeEmail(email)