MongoDB: Grant roles to multiple databases based on a pattern
Resource document for the latest mongo has db and test attributes which can be only fixed strings.

I have tried with various wildchar: *, ., % also escaping but with no luck.