In this particular issue, MS has an opposite problem: you grab a document link, grant a permission to someone, and they still can't access the document through the original link (you need to fetch a new link just for them).
(Teams makes this Byzantine in the extreme to accomplish as you have to go find the folder it drops all shared files in to gain access to manage access settings. But it does allow you to retro change access even for things shared in Teams)
From the outside looking in, it's the age old organizational problem when there are no good synergies between customer experience and development teams.