What happens if you don't obtain permission?
Do you get fired, or do they claim ownership?
Do you get fired, or do they claim ownership?
I doubt that would happen in practice though, unless you were creating an open source competitor to something they do or somesuch.
Having to worry about it is horrible enough, since this will actually keep many developers from pursuing their passions in their free time.