« on: January 12, 2022, 02:08 PM »
We're dealing with two different things. License for the code use and TOS for hosting.
Let's move the context to a different arena - DonationCoder, or any other Forum.
When you upload items in your posts, you are agreeing to the TOS for the site. For DonationCoder, you retain the rights to whatever you post- whether it is code (compiled or not) or text. That never changes. (Some sites make it so you can't edit or delete your posts, which exists in a gray area).
If you upload something malicious, I'd expect Mouser to take it down- whether it's code, text, etc. If you post something to the wrong area, your post will be altered to move it to the correct area. If you post something in your post that is malicious, your post will be edited to make it not so (as seen with several links in posts that are otherwise fine).
They are not altering his license. They first reverted the change until checking with him to make sure he wasn't hacked (and yes, you can say MFA, but there are ways around that, which have been demonstrated- it's just considerably harder). When he did check back with him, they allowed him in, but he had to change his code hosted on their site to something non malicious, or remove the repo. He chose the former, changing all the code to say What Happened to Aaron Schwartz?
You're conflating license with TOS.