We're working on some new arrangements and a discussion came up about the use of passing tones in basslines.
Our Drummer (guitarist) says "no notes outside the key are allowed..it's a rule."
One can play passing tones (or, approach notes) that are inside the key since there are two types of passing tones: diatonic and non-diatonic. Basically, any note that is not a chord tone can be construed as a passing tone, whether it's non-diatonic (outside the key) or diatonic (inside the key).