mirror of https://github.com/grafana/grafana
Service Accounts: Run service account creation in transaction (#94744)
* run service account creation DB queries in transaction * extract the signed in user from the context * undo unneeded change * don't error out if a user is not found * Update pkg/services/serviceaccounts/manager/service.go Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> * Update pkg/services/serviceaccounts/manager/service.go Co-authored-by: Karl Persson <kalle.persson@grafana.com> --------- Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> Co-authored-by: Karl Persson <kalle.persson@grafana.com>pull/94807/head
parent
cc9881343e
commit
ca1fd028a2
Loading…
Reference in new issue