Partial deletes
Opened this issue · 0 comments
It happens sometimes, that, when doing a delete, the event is successfully deleted from the local database; however, the Google Calendar event delete fails. This results in the event continuing to show up, since Google Calendar is the true source of events, not the local database.
Public users (ie. county) are only allowed to delete events that belong to their department. Events are only in their department when they exist in the local database. This is because that's where the department assignment happens.
So, a county user will click the delete button, the event is removed from the local database but the Google Calendar delete fails. The event continues to show up in the list, only now the county user cannot delete anymore, since they do not own that event.