Team permissions and sharing permissions conflict

My partner has editable permissions, but after entering through a shared link that only supports viewing, he cannot edit the project after re-entering the project, you must re-invite