Creates an override for pattern with per-role chains.
pattern
const PathRoleOverride({required this.pattern, required this.roles});