I've found myself repeating code, and often relying on the same vendor every time (AWS S3) for file management. I have yet to find a good approach to file search or permissioning without a lot of boilerplate.
I am curious what patterns other dev teams are using to manage files within their saas product to allow for multi-tenancy, permissioning, sharing, searchability etc.