sourcegraph/sourcegraph-public-snapshot
Adding LSIF to private repos as a contributor is a confusing user experience
开放
#24,457 创建于 2021年8月31日
good first issueteam/graph
仓库指标
- 星标
- (10,290 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Users adding LSIF to their private repos get UI errors if they're not site admins. Although being a contributor is sufficient to set up and get precise code intelligence results, the current behaviour is confusing as Sourcegraph only shows settings and upload states if the user is a site admin.
Example: User is a repo contributor, sets up LSIF for their repo and get the following errors.

However, LSIF config is working and they get precise code intelligence results in their repo.