GEWIS / gewisweb

GEWIS Website
https://gewis.nl
GNU General Public License v3.0
16 stars 33 forks source link

Separate uploaded files per company #1759

Closed tomudding closed 8 months ago

tomudding commented 10 months ago

What would you like?

When the following items are uploaded:

They should be stored in separated storage through

https://github.com/GEWIS/gewisweb/blob/96a548eecaf735a71cdbaba5c6f17dade7cc80ce/module/Company/src/Service/Company.php#L416

Why is this needed?

Easier to track who uploaded what and where it is. Furthermore, prevents collision issues across different companies (and GEWIS uploads).

Other information

No response

tomudding commented 10 months ago

I do not yet have a clear idea on how to actually do this. Preferably we'd use a company's slug, however, that is not immutable.