From e76781cc2709fda08403e14c1a0a01957e430db1 Mon Sep 17 00:00:00 2001 From: hugocasa Date: Mon, 5 Oct 2026 16:13:19 +0200 Subject: [PATCH] fix: label the default slack scopes and list them first in the connect dialog (#11529) Co-authored-by: Claude Opus 5.5 --- backend/oauth_connect.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json index fde54c39e2..0a9bc2eadd 100644 --- a/backend/oauth_connect.json +++ b/backend/oauth_connect.json @@ -45,12 +45,33 @@ "files:read" ], "scope_options": [ + { "value": "chat:write", "label": "Send messages as the app" }, + { "value": "chat:write.public", "label": "Send messages to public channels the app is not in" }, + { "value": "channels:join", "label": "Join public channels" }, + { "value": "files:write", "label": "Upload, edit and delete files" }, + { "value": "users:read", "label": "View people in the workspace" }, + { "value": "users:read.email", "label": "View people's email addresses" }, + { "value": "channels:read", "label": "View basic information about public channels" }, + { "value": "channels:history", "label": "Read messages in public channels the app is in" }, { "value": "reactions:write", "label": "Add emoji reactions" }, { "value": "channels:manage", "label": "Create, archive and manage public channels, invite members, set topics" }, { "value": "groups:write", "label": "Create and manage private channels the app is in" }, { "value": "usergroups:write", "label": "Edit user groups (workspace settings often block bots)" } ], "user_scope_options": [ + { "value": "channels:history", "label": "Read messages in public channels" }, + { "value": "groups:history", "label": "Read messages in your private channels" }, + { "value": "im:history", "label": "Read your direct messages" }, + { "value": "mpim:history", "label": "Read your group direct messages" }, + { "value": "search:read", "label": "Search messages and files" }, + { "value": "users:read", "label": "View people in the workspace" }, + { "value": "chat:write", "label": "Send messages as you" }, + { "value": "users:read.email", "label": "View people's email addresses" }, + { "value": "channels:read", "label": "View basic information about public channels" }, + { "value": "groups:read", "label": "View basic information about your private channels" }, + { "value": "im:read", "label": "View basic information about your direct messages" }, + { "value": "mpim:read", "label": "View basic information about your group direct messages" }, + { "value": "files:read", "label": "View files shared in your conversations" }, { "value": "reactions:write", "label": "Add emoji reactions" }, { "value": "channels:write", "label": "Create, archive and manage public channels" }, { "value": "channels:write.invites", "label": "Invite members to public channels" },