# What this PR does Addresses two issues: - addresses an internal feature request ([in Slack](https://raintank-corp.slack.com/archives/C03KS498VGV/p1713550543916289?thread_ts=1713546008.831749&cid=C03KS498VGV)) to not have a new shift swap request auto-generated if one previously was, but than the user decided to delete that SSR - when disconnecting the GCal integration from your user, I've seen cases where Google will return HTTP 400 as such ([example logs](https://ops.grafana-ops.net/goto/8vX76pBSg?orgId=1)): ``` {'error': 'invalid_token', 'error_description': 'Token expired or revoked'} ``` I can't seem to find detailed documentation on the revoke endpoint (`GET https://accounts.google.com/o/oauth2/revoke?token=<token>`) to try and better understand the possible `error` values.. but I think our best bet here is to just continue forward w/ `user.finish_google_oauth2_disconnection_flow()` (which deletes the `GoogleOAuth2User` associated with the user and sets `user.google_calendar_settings = None`) ## Checklist - [x] 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. |
||
|---|---|---|
| .. | ||
| img | ||
| sources | ||
| .markdownlint.json | ||
| docs.mk | ||
| make-docs | ||
| Makefile | ||
| README.md | ||
| variables.mk | ||
Grafana Cloud Documentation
Source for documentation at https://grafana.com/docs/oncall/
Preview the website
Run make docs. This launches a preview of the website with the current grafana docs at
http://localhost:3002/docs/oncall/latest/ which will refresh automatically when changes are made to
content in the sources directory.
Make sure Docker is running.
Image support
See the documentation in writers toolkit about how to store images