Connecting Google Calendar is optional. A user starts it with the “Connect Google Calendar” button on the Calendar page and grants access on Google's consent screen. ePravnik requests only these two scopes:
• https://www.googleapis.com/auth/calendar.events.owned to see, create, change and delete events on calendars the user owns;
• https://www.googleapis.com/auth/calendar.calendars.readonly to read the ID of the user's primary calendar.
ePravnik does not request access to Gmail, contacts, Google Drive, calendars the user does not own, or calendar sharing settings.
While the calendar is connected, ePravnik:
• reads the ID of the primary calendar (the Google account's address) to know which Google account is connected;
• writes into the primary calendar the hearings and meetings the user takes part in and the deadlines of tasks assigned to the user: title, description or note, location, time and reminders;
• watches the primary calendar for changes, to notice when the user edits or deletes an event that ePravnik wrote. Google's change list also contains the user's personal events: ePravnik skips them, does not store them and shows them to nobody;
• takes over changes to the title, description, location and time of the events it wrote.
About the user's Google Calendar, ePravnik's database stores only: encrypted access and refresh tokens, the Google account's address, the granted scopes, the synchronization cursor, the push-notification channel details, and the link between each Google event and the hearing, meeting or task in ePravnik.