Suppose I am a developer. I am developing a piece of software. I decide I want to make this code open source. But... I only want developers (or people that will be using the code in other projects) to be able to use it under CC-BY. But people using the code for general use (not in other projects) I would like to apply an MIT license.
Based on the CC requirements it says I can't restrict it from anyone. Here I am not restricting anyone from anything. I am just applying different rules. Am I allowed to do this?