Add Attio access review support - #1756
Draft
gearnode wants to merge 2 commits into
Draft
Conversation
Register Attio as an OAuth and API-key access-review source. Map workspace members into review accounts and identify the connected workspace so campaigns display a useful source name. Add K7 cassettes for deterministic API coverage and expose the Attio brand in the connector catalog. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
Extend the PostgreSQL connector provider enum so Attio connectors can be persisted after the application begins accepting the new provider. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
connector_providermigration forATTIOTesting
go test ./pkg/accessreview/drivers -run 'TestAttio' -count=1make test MODULE=./pkg/accessreview/driversmake test MODULE=./pkg/connector/providergo test ./pkg/bootstrap ./pkg/coredata ./pkg/server/api/console/v1go test ./pkg/coredata -run '^TestDevice_DeleteOrphans$' -count=1ATTIOexists in the migrated PostgreSQLconnector_providerenumgo test -c -o /tmp/probo-console-e2e.test ./e2e/consolenpm -w @probo/ui run checkmake relayManual testing
Storybook visual verification is currently blocked by an existing Tailwind build error:
Cannot apply unknown utility class my-2.Summary by cubic
Adds Attio as an access-review provider via OAuth or API key so campaigns can review Attio workspace members and show a human-friendly workspace name. Previously Attio was unsupported; now ATTIO is available in GraphQL and UI, and a DB enum migration enables persistence.
Service
+301-0user_management:readscope, and API-key flow./v2/workspace_members, maps Admin/Member/Suspended, sets active/admin flags, and captures IDs and timestamps./v2/selfthat returns the workspace name; treats inactive tokens as terminal.PROBOD_CONNECTOR_ATTIO_CLIENT_ID/PROBOD_CONNECTOR_ATTIO_CLIENT_SECRETand validates required secrets.Coredata
+25-1ATTIOas aConnectorProvider, adds it to providers and validity checks.20260821T160700Z.sqlto extend theconnector_providerenum withATTIObefore enabling the provider.GraphQL API
+1-0ATTIOin the Console GraphQLConnectorProviderenum.Package: ui
+50-0packages/uiand wires it intoThirdPartyLogoand Storybook.Tests
+173-1ATTIOprovider is present.Other
+3-0.env.examplefor Attio OAuth.Written for commit e745590. Summary will update on new commits.