Add anonymous access support for private repositories (backend) (#33257)

Follow #33127

This PR add backend logic and test for "anonymous access", it shares the
same logic as "everyone access", so not too much change.

By the way, split `SettingsPost` into small functions to make it easier
to make frontend-related changes in the future.

Next PR will add frontend support for "anonymous access"
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-03-28 22:42:29 +08:00
1 parent 58d0a3f4c2
commit 0d2607a303
7 files changed
+1001 -846

No files matched your search

File diff suppressed because it is too large. Load diff