I recently was in need for a place to store my passwords and stumbled upon bitwarden. After looking in github I noticed that the code is partially licensed under AGPL and partially under a commercial license, the bitwarden license.
My understanding of the (A)GPL license has always been that one is not allowed to link with it unless the full product is under (A)GPL.
Apparently my understanding is not complete (I'm no lawyer and I can't imagine bitwarden didn't pass it past their lawyers), could someone explain why this allowed ?
Edit: Could I (or anybody) just remove the code that is under the bitwarden license and add code under my own license, just as bitwarden ? If not ? Why can't I (or anybody) and can bitwarden ?