webkom / lego

Backend for abakus.no
https://lego.abakus.no
MIT License
52 stars 20 forks source link

Fix joblistings always available despite having set a custom date #3530

Closed jonasdeluna closed 8 months ago

jonasdeluna commented 8 months ago

Fixes the joblisting available from issue. Going to the link directly will now also give a 404 to other users except the creator. If it's past the date you can still see it.

Resolves: ABA-651

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9c166cc) 88.21% compared to head (d1e31ab) 88.22%. Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3530 +/- ## ======================================= Coverage 88.21% 88.22% ======================================= Files 667 668 +1 Lines 21094 21106 +12 ======================================= + Hits 18609 18621 +12 Misses 2485 2485 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

linear[bot] commented 8 months ago
ABA-651 Joblistings open at wrong date

As notified by mail from Åsne in webkom, there is a bug where joblistings always open immidiately regardless of the "synlig fra" date entered.