pimutils / vdirsyncer

📇 Synchronize calendars and contacts.
https://vdirsyncer.pimutils.org/
Other
1.57k stars 163 forks source link

Enhancement proposal: Add support for hiding data from calendar copies #968

Open archandha opened 2 years ago

archandha commented 2 years ago

This is about calendar sync only ;)

I am looking for a system to sync my private calendar with a Google calendar. Due to data protection policies and European laws, I cannot just transfer all these private information into Google without consent of the people mentioned in the private calendar entries. On the other hand, I need to track my availability in Google calendar to support our partners using the Google calendar to see when I may have some spare time for them.

So the idea is extending vdirsyncer to hide some or all data and just create dummy entries to show that there is something.

I suggest to have the storage configuration section extended to supprt a keyword like create with contents ['normal','title','blocker'] to trigger the storage writer to write

This way, the data retrieved by vdirsyncer remains unchanged and only data written to the exposed storage gets anonymized.

WhyNotHugo commented 2 years ago

I've thought of something like "filters" to achieve this in the past. It would be very complicated with the current design. I do have it in mind for the future, but it's an extended milestone of a re-write that's only just beginning.

WhyNotHugo commented 2 years ago

BTW: I would actually find this feature useful myself, so definitely nothing against it!

archandha commented 2 years ago

Great to hear, thank you. I am with you that a more advanced universal filter system would be really helpful. I believe that this will greatly increase complexity. If I find time, I might be able to do provide some code but I'm not to optimistic before summer

corepointer commented 1 month ago

Ping from 2024. This functionality is needed more than ever imho now that GDPR is all around. This is one of the big features of onecal.io. I'd need that functionality offline/selfhosted as I wouldn't be allowed to sync around calendar data from work with 3rd party services. This led me here =)