Closed kdmnk closed 3 months ago
app/Http/Controllers/Auth/AdmissionController.php (2)
`171-171`: **Address constructor and variable issues in file upload notification.** The `ApplicationFileUploaded` constructor is invoked with parameters that do not match the expected signature. Ensure the constructor accepts the correct parameters or adjust the call accordingly. --- `154-154`: **Ensure correct authorization check for note modification.** The authorization check for modifying notes should ensure that the user is authorized to modify the specific application note. Consider adding a specific policy check for this action.
I'm a bit conflicted about sending emails for notes, but if you see a use case for it, sure. But please clarify in the helper text that an email will be sent.
I'm a bit conflicted about sending emails for notes, but if you see a use case for it, sure. But please clarify in the helper text that an email will be sent.
True, I wanted to clarify it. As far as I saw, the notes are not used that much, maybe to state some changes to the application and alike. For those, an email is nice but I can remove the feature. You know better.
As far as I saw, the notes are not used that much, maybe to state some changes to the application and alike. For those, an email is nice but I can remove the feature. You know better.
Keeping it as a way to urgently notify application committee members about important changes to an application sounds good to me.
I've used bcc now to send emails but I have issues testing it and I don't have more time now. Please test this on staging and fix if needed.
I haven't checked it out thoroughly, but LGTM; thanks:)
Needed this fix post-commit: https://github.com/EotvosCollegium/mars/commit/7d93901ca25222553bfd4c0758279f66664aa4f3
And sends email to the committee members (also if the notes are changed)