db/authz: wraps calls of GrantPendingPermissions in a transaction
Created by: unknwon
This PR focuses on wrapping multiple calls of GrantPendingPermissions in a transaction.
- Did a refactoring to remove the custom
sqlTx
type and added some helper methods toPermsStore
for wrapping and checking transactions.
Stacked on #7935.