Closed jyeshe closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.66%. Comparing base (
82e6c19
) to head (09519d8
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Validation Steps
Notes for the reviewer
These hooks (
ProjectHook
andAccountHook
) inside Project and Account contexts allow umbrella apps to handle project and user creation on the same DB which means that all set of operations that need to be atomic can be handled without relying on async events.As
ProjectHook.handle_create_project/1
,AccountHook.handle_create_user/1
and so on are called in the context of a DB transaction can be reused by an umbrella app to override and/or extend these hooks.Related issue
Resolves #2029 Refs https://github.com/OpenFn/thunderbolt/issues/146
Review checklist
:owner
,:admin
,:editor
,:viewer
) have been implemented and tested