code: func (r *RoleV3) SetLogins(rct RoleConditionType, logins []string) {
  	lcopy := utils.CopyStrings(logins)
  
  	if rct == Allow {
  		r.Spec.Allow.Logins = lcopy
  	} else {
  		r.Spec.Deny.Logins = lcopy
  	}
  }
docs: // SetLogins sets system logins for allow or deny condition.