Skip to content

Commit

Permalink
Add Google privacy policy note for Google Calendar integration (grafa…
Browse files Browse the repository at this point in the history
…na#4203)

# What this PR does
<img width="1098" alt="Screenshot 2024-04-10 at 11 36 58"
src="https://github.com/grafana/oncall/assets/9406895/4ceb0479-bc3f-48e8-90c4-0c117b309d36">

This is a requirement to get our Google OAuth2 consent screen
re-approved

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
  • Loading branch information
joeyorlando authored Apr 15, 2024
1 parent 8187dfb commit e018f2b
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';

import { css } from '@emotion/css';
import { Button, HorizontalGroup, Switch, VerticalGroup, useStyles2 } from '@grafana/ui';
import { Button, HorizontalGroup, Icon, Switch, VerticalGroup, useStyles2 } from '@grafana/ui';
import { observer } from 'mobx-react';

import { Block } from 'components/GBlock/Block';
Expand Down Expand Up @@ -123,6 +123,21 @@ const GoogleCalendar: React.FC<{ id: ApiSchemas['User']['pk'] }> = observer(({ i
)}
</VerticalGroup>
)}

<HorizontalGroup spacing="sm">
<Icon name="info-circle" />
<Text type="secondary">
Grafana OnCall's use and transfer to any other app of information received from Google APIs will adhere to{' '}
<a
target="_blank"
rel="noreferrer"
href="https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes"
>
<Text type="link">Google API Services User Data Policy</Text>
</a>
, including the Limited Use requirements.
</Text>
</HorizontalGroup>
</VerticalGroup>
</Block>
</VerticalGroup>
Expand Down

0 comments on commit e018f2b

Please sign in to comment.