Skip to content

Allow editing past GCal events after unsync #643

@TyHil

Description

@TyHil

What did you expect to happen?

GCal events are uneditable on Clubs. However, when I unsync my GCal, past events are kept for posterity, but I should then be able to edit/delete those events.

What happened?

Past events after unsyncing gcal are uneditable and undeletable.

Change to make

In the disableSync procedure in src\server\api\routers\event.ts, if input.keepPastEvents is true then set the google param of all past events with google===true to false. This will make those events editable.

Verify that when resyncing the same calendar, these events are "reclaimed" by the google calendar sync, as in they once again have their google param set to true.

Version

clubs.utdnebula.com

What browsers are you seeing the problem on?

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type: Bug ReportIssues pertaining to non-security-related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions