Skip to content

Commit 6d0ea61

Browse files
author
Gusted
committed
Add comment
1 parent 1bd341b commit 6d0ea61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/repo_list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ func teamUnitsRepoCond(id string, userID, orgID, teamID int64, units ...unit.Typ
247247
},
248248
),
249249
),
250+
// Check if the user is in the owner team of the organisation.
250251
builder.Exists(builder.Select("team_id").From("team_user").
251252
Where(builder.Eq{
252253
"org_id": orgID,

0 commit comments

Comments
 (0)