mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(roles): add transactions support EE-5390 (#8878)
This commit is contained in:
parent
757461d58b
commit
745bbb7d79
3 changed files with 89 additions and 9 deletions
|
@ -48,9 +48,13 @@ func (tx *StoreTx) Registry() dataservices.RegistryService {
|
|||
}
|
||||
|
||||
func (tx *StoreTx) ResourceControl() dataservices.ResourceControlService { return nil }
|
||||
func (tx *StoreTx) Role() dataservices.RoleService { return nil }
|
||||
func (tx *StoreTx) APIKeyRepository() dataservices.APIKeyRepository { return nil }
|
||||
func (tx *StoreTx) Settings() dataservices.SettingsService { return nil }
|
||||
|
||||
func (tx *StoreTx) Role() dataservices.RoleService {
|
||||
return tx.store.RoleService.Tx(tx.tx)
|
||||
}
|
||||
|
||||
func (tx *StoreTx) APIKeyRepository() dataservices.APIKeyRepository { return nil }
|
||||
func (tx *StoreTx) Settings() dataservices.SettingsService { return nil }
|
||||
|
||||
func (tx *StoreTx) Snapshot() dataservices.SnapshotService {
|
||||
return tx.store.SnapshotService.Tx(tx.tx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue