hitobito / hitobito_sac_cas

A hitobito wagon defining the organization hierarchy and additional features for SAC/CAS
Other
3 stars 2 forks source link

Create a new transaction for validate_roles #697

Closed rnestler closed 4 days ago

rnestler commented 4 days ago

Otherwise this will misbehave if it is part of another transaction.

See https://dev.to/gerardosandoval/understanding-activerecord-nested-transactions-3hee#creating-real-nested-subtransactions