Skip to content

Commit 092212d

Browse files
improve comment
1 parent 85fb357 commit 092212d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/backend/src/ee/repoPermissionSyncer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ export class RepoPermissionSyncer {
5656
// Repos need their permissions to be synced against the code host when...
5757
where: {
5858
AND: [
59-
// They are not public, as they are always visible to all users.
59+
// They are not public. Public repositories are always visible to all users, therefore we don't
60+
// need to explicitly perform permission syncing for them.
6061
// @see: packages/web/src/prisma.ts
6162
{
6263
isPublic: false

0 commit comments

Comments
 (0)