Skip to content

Commit 80681e0

Browse files
committed
add fixme again
1 parent 6e51df2 commit 80681e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/perm/access/repo_permission.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ func GetActionsUserRepoPermission(ctx context.Context, repo *repo_model.Reposito
275275
if !actionsCfg.IsCollaborativeOwner(taskRepo.OwnerID) || !taskRepo.IsPrivate {
276276
// The task repo can access the current repo only if the task repo is private and
277277
// the owner of the task repo is a collaborative owner of the current repo.
278+
// FIXME allow public repo read access if tokenless pull is enabled
278279
return perm, nil
279280
}
280281
accessMode = perm_model.AccessModeRead

0 commit comments

Comments
 (0)