fix: label the default slack scopes and list them first in the connect dialog (#11529)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-10-05 16:13:19 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent f7c7d7ffd8
commit e76781cc27
+21
View File
@@ -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" },