Skip to content

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

fix: ignore other expr kinds (#12184)

boojackc8fc53b924cd
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.go
index 08d7af4b28..c4de2ee1e0 100644
--- a/backend/api/v1/project_service.go
+++ b/backend/api/v1/project_service.go
@@ -2176,7 +2176,8 @@ func validateIAMPolicyExpression(expr string, maximumRoleExpiration *durationpb.
return nil
}
default:
- return errors.Errorf("unexpected expr kind %v", expr.Kind())
+ // Ignore other kinds.
+ return nil
}
}