Please fill out the template below to help the project maintainers review it as fast as possible and include your contribution to the project.
What does it fix?
Closes #155
Please mention the main changes this PR brings.
new class and storage added for user attachments, links 1-to-1 with user object
modified host get-involved form to allow file upload into the user attachment object
some commented ground work on MediaController to unify rendering of accommodation-photos in 1 method - needs further discussion
MediaController support for accomodation-photos might need extra checks to prevent other users downloading files if they have a link
Known Issues
need some help from to solve why errors related to the fileuploaded field are not showing up next to it
Open Questions
Should host be able to edit his photo ID during profile edit?
Should admin be able to edit host photo ID during profile edit?
Does trusted user need access to view or edit host photo ID?
How has it been tested?
Please describe the tests that you ran to verify your changes.
local testing using local storage
create&view new host person and host company on get involved
create new host person and host company from admin
view host person and host company profile by admin
Requirements for making a pull request
Thank you for contributing to our project!
Please fill out the template below to help the project maintainers review it as fast as possible and include your contribution to the project.
What does it fix?
Closes #155
Please mention the main changes this PR brings.
new class and storage added for user attachments, links 1-to-1 with user object
modified host get-involved form to allow file upload into the user attachment object
some commented ground work on MediaController to unify rendering of accommodation-photos in 1 method - needs further discussion
MediaController support for accomodation-photos might need extra checks to prevent other users downloading files if they have a link
Known Issues
Open Questions
How has it been tested?
Please describe the tests that you ran to verify your changes.
local testing using local storage create&view new host person and host company on get involved create new host person and host company from admin view host person and host company profile by admin