Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

feat/enterprise-portal: return all attributes, even when access is disabled#63159

Merged
bobheadxi merged 2 commits into
mainfrom
enterprise-portal-return-all-attributes
Jun 7, 2024
Merged

feat/enterprise-portal: return all attributes, even when access is disabled#63159
bobheadxi merged 2 commits into
mainfrom
enterprise-portal-return-all-attributes

Conversation

@bobheadxi

@bobheadxi bobheadxi commented Jun 7, 2024

Copy link
Copy Markdown
Member

I was doing a more in-depth, final check between the state of sync in dotcom and in Enterprise Portal, and found a discrepancy: we only return attributes if access is enabled, but there are Cody Gateway features that are enabled even if Cody Gateway access is disabled. This was also called out in https://github.com/sourcegraph/sourcegraph/pull/62934#discussion_r1625142452

See my comment in CORE-98 here: https://linear.app/sourcegraph/issue/CORE-98/enterprise-portal-use-portal-from-cody-gateway#comment-80991a40

Test plan

Basic unit test to make sure the constructor doesn't blow up on any nil fields

@bobheadxi bobheadxi force-pushed the enterprise-portal-return-all-attributes branch from ba90661 to b92e6dd Compare June 7, 2024 16:37
@bobheadxi bobheadxi merged commit b8b0f87 into main Jun 7, 2024
@bobheadxi bobheadxi deleted the enterprise-portal-return-all-attributes branch June 7, 2024 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants