Skip to content

Commit

Permalink
fix: Missing organization base permission fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed Jul 23, 2024
1 parent 12187fd commit 26bd94f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ interface ProjectRepository : JpaRepository<Project, Long> {
left join r.defaultNamespace dn
left join Permission p on p.project = r and p.user.id = :userAccountId
left join Organization o on r.organizationOwner = o
left join fetch o.basePermission
left join OrganizationRole role on role.organization = o and role.user.id = :userAccountId
"""
}
Expand Down

0 comments on commit 26bd94f

Please sign in to comment.