mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-10 04:56:59 +01:00
fix
This commit is contained in:
parent
5067f1dbfa
commit
27a405571b
@ -320,7 +320,7 @@ func GetActionsUserRepoPermission(ctx context.Context, repo *repo_model.Reposito
|
||||
// If allowed, we grant Read Access (consistent with old behavior and package access).
|
||||
// If NOT allowed (checked above for sameOrg), we fall through to here.
|
||||
|
||||
if !isSameOrg {
|
||||
if !isSameOrg && repo.IsPrivate {
|
||||
return perm, nil
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user