Wrong google calendar pulled events owner?

Hi everyone,

I’ve been trying to debug an issue where Google Calendar events are syncing, but users cannot see them. It seems that these events are created as private. The owner is either the Administrator, if the scheduler synchronizes them, or the current user if done manually via the interface. When created through the interface, everything works fine; the problem arises during scheduled syncing.

I’ve looked through the source code, but I wasn’t able to find evidence that this behavior is intentional.

Has anyone already mitigated this issue? I mean I can fix it in the source code, but I’m unsure if this is the expected behavior.

Thanks for your help!

There is already a PR for it: