forked from EduCraft/curriculum-project-hub
1d2f4657ba
Filtering permission grants with separate principalType/principalId IN lists matched cross-product rows (e.g. TEAM + user id). Use OR of exact (type, id) pairs so members only see projects their principals hold.