DH-IT-Portal-Development / ethics

Ethical Committee web application in Django
http://fetc.hum.uu.nl
MIT License
2 stars 1 forks source link

Feature/attachment download permissions #721

Closed EdoStorm96 closed 2 weeks ago

EdoStorm96 commented 1 month ago

So the main purpose of this branch is to add permissions to attachment downloads, but I also did some housekeeping along the way.

The main meat of this PR is the final commit, where I actually implement to permission. Right now I implemented it so that:

Right now these permissions are separate from the state of the review or proposal, so these people will always have access. In my mind, we can trust the people with permissions to not do anything too crazy with their permission, so for me this is fine.

Let me know what you think!