Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: allow workspace owner and dba to force rollout issue (#9228)
Danny Xuddbff2c847e8
diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.goindex b4dd5f6503..9223a064d3 100644--- a/backend/api/v1/rollout_service.go+++ b/backend/api/v1/rollout_service.go@@ -510,7 +510,7 @@ func (s *RolloutService) BatchRunTasks(ctx context.Context, request *v1pb.BatchRif err != nil {return nil, status.Errorf(codes.Internal, "failed to check if the issue is approved, error: %v", err)}- if !approved {+ if !approved && !(user.Role == api.Owner || user.Role == api.DBA) {return nil, status.Errorf(codes.FailedPrecondition, "cannot run the tasks because the issue is not approved")}