1
0
mirror of https://github.com/harness/drone.git synced 2022-03-12 19:30:52 +03:00

update admission code comments [ci skip]

This commit is contained in:
Brad Rydzewski
2021-10-01 14:04:15 -04:00
committed by GitHub
parent e4cfd4bb0b
commit 0c087df430

View File

@@ -61,7 +61,7 @@ func (s *membership) Admit(ctx context.Context, user *core.User) error {
return err
}
// if the user is a member of an organization in the
// organization whitelist we can admit the user.
// account whitelist we can admit the user.
for _, org := range orgs {
_, ok := s.account[strings.ToLower(org.Name)]
if ok {