This is not a bug, but working as intended. It is intended that you are able to share attachment links in one place to another, that's a feature. However, this is a feature request for self-hosted instances to be able to configure requiring authorization for file access, if they want things to work more like Slack. This was a feature request I received by email yesterday and will be implemented today. As such, I'm converting this to a feature request and marking it as shipping soon.
Sharing links from a public channel is fine, but I think it’s wrong when the same thing applies to private chats.
I’ll wait for updates, then. Thanks in any case.
Thread
Comment by Hampus
Comment by lisenblsh