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

[Backport 5.0] (feat) add ability to allow anonymous usage mode based on "auth.publi…#52506

Merged
keegancsmith merged 1 commit into
5.0from
backport-52440-to-5.0
May 26, 2023
Merged

[Backport 5.0] (feat) add ability to allow anonymous usage mode based on "auth.publi…#52506
keegancsmith merged 1 commit into
5.0from
backport-52440-to-5.0

Conversation

@erzhtor

@erzhtor erzhtor commented May 26, 2023

Copy link
Copy Markdown
Contributor

Closes https://github.com/sourcegraph/sourcegraph/issues/52439. Original PR https://github.com/sourcegraph/sourcegraph/pull/52440.

Test plan

  • sg start dotcom and generate license with allow-anonymous-usage tag
  • Restart in enterprise mode sg start enterprise and set newly created license
  • Set auth.public=true in site config
  • Check that instance allows searching and browsing public repositories

Demo

Screen.Recording.2023-05-25.at.15.18.24.mov

…c" site config and "allow-anonymous-usage" license tag (#52440)

(cherry picked from commit d8a8e5b)
@cla-bot cla-bot Bot added the cla-signed label May 26, 2023
@erzhtor erzhtor requested review from a team May 26, 2023 13:07
@erzhtor erzhtor self-assigned this May 26, 2023
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 72e1a0b...f54e331.

Notify File(s)
@unknwon enterprise/cmd/frontend/internal/auth/BUILD.bazel
enterprise/cmd/frontend/internal/auth/confauth/BUILD.bazel
enterprise/cmd/frontend/internal/auth/confauth/middleware.go
enterprise/cmd/frontend/internal/auth/confauth/middleware_test.go
enterprise/cmd/frontend/internal/auth/init.go
enterprise/internal/licensing/tags.go

@keegancsmith keegancsmith enabled auto-merge (squash) May 26, 2023 13:18
@keegancsmith keegancsmith merged commit d2eac1e into 5.0 May 26, 2023
@keegancsmith keegancsmith deleted the backport-52440-to-5.0 branch May 26, 2023 13:33
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.

4 participants