Configure Google Calendar Permissions for Passport Service Account

Share on print
Share on facebook
Share on linkedin
Share on whatsapp
Share on email

This article provides instructions to set permissions for the Google Calendar passport service account in the Google admin portal (https://admin.google.com/). These permissions are necessary when creating an application passport for Google Calendar to be the calendar provider for Space Reservations in Appspace.

Prerequisites

  • A Google Administrator to perform the instructions in this article.
  • A Google account with the super admin role or other (used as a service account for Google Calendar passport authentication).
  • Access to the Google admin portal https://admin.google.com/

Instructions

The instructions in this article must be completed first by a Google Administrator prior to creating a Google calendar passport.

Follow the instructions in the order listed below:

Step 1: Enable Calendar App

Follow the instructions below to enable the Google Calendar service: 

  1. Access the Google admin portal at https://admin.google.com/.
  2. Select Directory > Users on the left menu panel and navigate to the user you will use as the passport service account for Google calendar integration.
  3. In the User details tab, scroll down to the Apps section and click on it.
  4. In the Apps page, ensure that Calendar is set as On. Refer to the following article to turn on apps: support.google.com/a/answer/181865

Step 2: Create New Role in Google Admin Portal

Important
If the Google service account is assigned a super admin role, skip this section and the next and proceed to the Share Room and Resources Calendar to the Service Account section below.
If you are not using the super admin role, perform the following steps to grant necessary permissions.

To grant access to the passport service account, you need to create a new role in the Google Admin portal and set up permissions. 

    1. Access the Google admin portal at https://admin.google.com/.
    2. Select Account > Admin roles on the left menu panel. In the Admin roles page, click Create new role.
    3. Enter the Name and Description of the new role and select Continue.
    4. Select the following privileges under the Admin console privileges section:
      • Organizational Units > Read
      • Users > Read
      • Services > Contacts > Contacts Settings Message > Delegates Read
      • Services > Calendar > All Settings > Manage Settings > Buildings And Resources
      • Services > Calendar > All Settings > View Settings
    5. Select the following privileges under the Admin console privileges section:
      • Organizational Units > Read
      • Users > Read
      • Groups > Read
    6. Click Continue, then click Create Role.

Step 3: Assign Role to the Passport Service Account

After creating the new role, perform the following steps to assign the role to the passport service account and grant permissions to the user: 

  1. Access the Google admin portal at https://admin.google.com/.
  2. Select Directory > Users on the left menu panel and navigate to the user you will use as the passport service account for Google calendar integration.
  3. In the User details tab, scroll down to the Admin roles and privileges section and click on it.
  4. Select the pencil icon in the upper right corner.
  5. Set the new role to Assigned and click Save.
  6. Scroll down to the Privileges section and check that the user has the same privileges as the role.

Step 4: Share Room Calendar to the Service Account

Important
If the room calendar is shared with a Google group, and the passport service account is part of the group, you can skip the steps outlined in this section.

Once you’ve assigned the role to the passport service account, follow these steps to grant room calendar access to the passport service account.

  1. Follow the instructions in the article to share the room calendar with the passport service account: https://support.google.com/calendar/answer/37082.
  2. Select one of the following options for Access Permissions:
    Note
    It is recommended to share the room with the Make changes to events option to allow users to create, edit, and delete provider room events in Space Reservations for Appspace without using the Google Calendar. See Understand permissions settings for shared calendars in this article.
    • Make changes to events – Grants permission to create, edit, and delete events in Space Reservations after importing the provider room or resource to Appspace.
    • See all event details – Grants read-only access to events for the provider room or resource in Appspace Space Reservation.

Related Articles