Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Calendar makes .ics-imported events public #963

Closed
calejvaldez opened this issue Apr 17, 2024 · 2 comments
Closed

Google Calendar makes .ics-imported events public #963

calejvaldez opened this issue Apr 17, 2024 · 2 comments
Labels
medium Medium priority issue

Comments

@calejvaldez
Copy link
Contributor

When I add the events from AntAlmanac to my Google Calendar, it automatically makes the events public. I don't know if this is an AA issue or a GC issue, but I think it raises serious privacy concerns.

@MinhxNguyen7 MinhxNguyen7 added the medium Medium priority issue label Apr 21, 2024
@MinhxNguyen7
Copy link
Member

@calejvaldez Thanks for the notice. We never thought about this feature, and we'll look into it.

@calejvaldez
Copy link
Contributor Author

I ended up figuring this out myself! So, turns out, it was both an AntAlmanac and Google Calendar issue.

AntAlmanac uses the ics package to generate its .ics files. However, when creating the event attributes, classification wasn't specified, which specifies access to the event.

According to the iCalendar specs, the default value is PUBLIC. However, according to Google's Calendar API, the default event visibility is the calendar's default visibility. (Though I'm sure Google doesn't internally use the public Calendar API, it's an indicator as to how they implement a missing classification.) I guess would be fine if a user specifies the default calendar visibility since it indicates a preference, but UCI sets the default calendar's visibility as public. I didn't know this until a few years ago when I was tinkering with my Calendar settings. This made me think, how many people are adding events to their UCI calendar without knowing they're fully public?

I made a fix in #1003, which sets the default classification to PRIVATE. I think that a user's events should be private unless they specify otherwise, but because UCI makes our events public without us knowing, then enforcing PRIVATE is probably a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium Medium priority issue
Projects
Status: Done 🤩
Development

Successfully merging a pull request may close this issue.

2 participants