feat(repo): enforce dot-prefixed repos as always-private system repos #77
Reference in New Issue
Block a user
Delete Branch "feature/system-repo-private"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.are now treated as system repositories that are always private and cannot be made publicForcePrivatein template contextFiles Changed (10)
models/repo/repo.goIsSystemRepo()� name starts with.services/repository/repository.goMakeRepoPrivate()guard � hard errorrouters/api/v1/repo/repo.gorouters/api/v1/repo/repo.gorouters/api/v1/repo/migrate.gorouters/web/repo/repo.gorouters/web/repo/migrate.gorouters/web/repo/setting/setting.gorouters/web/repo/setting/public_access.gorouters/private/hook_post_receive.gooptions/locale/locale_en-US.jsonTest plan
.test-systemvia API � verify it is created as private.test-system-webvia web UI � verify it is created as private.test-systemvisibility to public via API � verify 403 response?? Generated with Claude Code