[management] Fix role change in transaction and update readme (#5060)

This commit is contained in:
Misha Bragin
2026-01-08 06:07:59 -05:00
committed by GitHub
parent 24df442198
commit cf535f8c61
5 changed files with 18 additions and 5 deletions

View File

@@ -3029,8 +3029,9 @@ func (s *SqlStore) ExecuteInTransaction(ctx context.Context, operation func(stor
func (s *SqlStore) withTx(tx *gorm.DB) Store {
return &SqlStore{
db: tx,
storeEngine: s.storeEngine,
db: tx,
storeEngine: s.storeEngine,
fieldEncrypt: s.fieldEncrypt,
}
}