Yelling at your boss who rightly pulled the plug on that stunt is hardly justified. Whether or not it's a firing offense depends on a lot of things the article doesn't tell us, but..
This is really not the "idealistic and pure-hearted lowly programmer" vs "corrupt and overly political, turf-controlling police culture" it makes it out to be.