Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: set role attribute (#16166)

Danny Xue80eec3b061b
diff --git a/backend/runner/approval/runner.go b/backend/runner/approval/runner.go
index c36ed54d9b..e39b5c85ea 100644
--- a/backend/runner/approval/runner.go
+++ b/backend/runner/approval/runner.go
@@ -745,6 +745,7 @@ func (r *Runner) getGrantRequestIssueRisk(ctx context.Context, issue *store.Issu
"db_engine": instance.Metadata.GetEngine().String(),
"expiration_days": expirationDays,
"export_rows": factors.ExportRows,
+ "role": payload.GrantRequest.Role,
}
out, _, err := prg.Eval(args)
if err != nil {