[CXH-2100] hard failure on getOrgBasePermission failure - #179
Conversation
Connector PR Review: hard failure on getOrgBasePermission failureBlocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0 Review SummaryScanned the full PR diff for security and correctness. This change converts the previous silent fail-closed behavior (treating an absent The prior suggestion about documenting the new credential requirement is partly addressed: the Security IssuesNone found. Correctness IssuesNone found. SuggestionsNone. |
| "and skipping per-team detail fetches. Recommended for large orgs.", | ||
| "and skipping per-team detail fetches. Recommended for large orgs. "+ | ||
| "Requires the credential to be able to read the org's default repository permission "+ | ||
| "(admin:org scope or the Organization Administration read permission); "+ |
There was a problem hiding this comment.
You updated this config-field description to require the credential to read the org's default_repository_permission (admin:org scope / Organization Administration read), and validation + syncs now hard-fail without it when direct-collaborators-only is on — that's the right call. The gap is that the customer-facing docs weren't updated to match: docs/connector.mdx (credential/scopes section, ~L455-462) still doesn't list this new requirement, so an operator reading the docs won't know they need org-owner visibility before enabling this mode. Worth syncing that requirement into the docs in this PR.
now, with more faulting.