mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
* fix: getTeamIdsWithPermission * fix get bookings handler for pbac and fallback roles * add tests * fix fallback roll query * push integration test fixes * Check for pbac features * fix * restore role behaviour * fix fallabck roles no pbac enabled * debug: add logging to investigate PBAC query failures Co-Authored-By: [email protected] <[email protected]> * re-write integration tests * fix: use >= comparison with bigint cast for PBAC permission count Co-Authored-By: [email protected] <[email protected]> * Restore permission repo * re-write from scratch * fix tests + file * imrpove perf by makign CTE and moving to left join * fix org scoped taems * clean up * fix: update PermissionCheckService mock to use function instead of arrow function Co-Authored-By: [email protected] <[email protected]> * refactor: rename scopedOrgId to orgId Co-Authored-By: [email protected] <[email protected]> * refactor: use MembershipRole enum instead of hardcoded strings Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Anik Dhabal Babu <[email protected]> Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Eunjae Lee <[email protected]> Co-authored-by: Benny Joo <[email protected]>