From e2dd6e61a90246f03d4fe710b3e370010ac8e2af Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sat, 28 Mar 2026 22:25:35 +0530 Subject: [PATCH] docs: update OneDrive permissions in documentation to reflect required access for connector authentication --- .../docs/connectors/microsoft-onedrive.mdx | 8 +- .../public/connectors/microsoft-teams.svg | 156 +----------------- 2 files changed, 5 insertions(+), 159 deletions(-) diff --git a/surfsense_web/content/docs/connectors/microsoft-onedrive.mdx b/surfsense_web/content/docs/connectors/microsoft-onedrive.mdx index 709a6ff7b..8bd76532e 100644 --- a/surfsense_web/content/docs/connectors/microsoft-onedrive.mdx +++ b/surfsense_web/content/docs/connectors/microsoft-onedrive.mdx @@ -70,15 +70,15 @@ After registration, you will be taken to the app's **Overview** page. Here you w | Permission | Type | Description | Admin Consent | |------------|------|-------------|---------------| -| `Files.Read` | Delegated | Read user files | No | -| `Files.ReadWrite` | Delegated | Read and write user files | No | +| `Files.Read.All` | Delegated | Read all files the user can access | No | +| `Files.ReadWrite.All` | Delegated | Read and write all files the user can access | No | | `offline_access` | Delegated | Maintain access to data you have given it access to | No | | `User.Read` | Delegated | Sign in and read user profile | No | 6. Click **"Add permissions"** - - The `Files.ReadWrite` permission is required for HITL (Human-in-the-Loop) tools like creating and trashing files. If you only need read access for indexing, `Files.Read` is sufficient, but HITL tools will not work. + + All four permissions listed above are required. The connector will not authenticate successfully if any are missing. --- diff --git a/surfsense_web/public/connectors/microsoft-teams.svg b/surfsense_web/public/connectors/microsoft-teams.svg index caa352dff..891dccd9d 100644 --- a/surfsense_web/public/connectors/microsoft-teams.svg +++ b/surfsense_web/public/connectors/microsoft-teams.svg @@ -1,155 +1 @@ - \ No newline at end of file + \ No newline at end of file