mirror of
https://github.com/harness/drone.git
synced 2025-05-20 19:09:59 +08:00
update admission code comments [ci skip]
This commit is contained in:
parent
e4cfd4bb0b
commit
0c087df430
@ -61,7 +61,7 @@ func (s *membership) Admit(ctx context.Context, user *core.User) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// if the user is a member of an organization in the
|
// 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 {
|
for _, org := range orgs {
|
||||||
_, ok := s.account[strings.ToLower(org.Name)]
|
_, ok := s.account[strings.ToLower(org.Name)]
|
||||||
if ok {
|
if ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user