-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users can sign in for shifts in the past #323
Comments
This has to be carefully implemented - there are use cases where you want to sign in after you worked on a shift - just to get your history of shifts corrected. This may be especially important if you offer incentives for working. At the deploment of Engelsystem at Chaos Communication Congress the shift-manager is the only person allowed to change the attendees of a shift after it started. (There you get a t-shirt if you work for about 15 hours in the first 4 days). Proposal: Allow managers do to it. Make it impossible to users. |
Well currently it's only possible if the day hasn't yet ended as previous days aren't displayed anyways. Please fix as it confuses people who want to sign in for the warmth bus at night. They think the morning shifts for the current day are the ones for the next day. |
@DaniGr On which page have you seen a shift, which has already ended, but is still displayed to sign in? The open shifts of a facility are displayed only as long as the shift is not over (as I can see it in the code). Edit: @DaniGr Ah, now I got it. If there is another shift today, which has not yet finished, then because of this one, the date is displayed under "Open shifts". Ok. And following this link you can see all shifts and sing in to them although they are in the past. |
Closing issue due to inactivity. |
It's unreasonable, to self-sign up a shift that ended more than 30 minutes ago. It's only rare cases thinkable, you'd even sign up a shift, that already startet. But if this is an issue more than 30 Minutes after shift ended, most probably someone else has tot be involved - IF the system shall not be open to arbitrary manipulation. So to me: shifts having ended >30 minutes in the past are not decorated with any action item (aka "sign up button") and any manually triggered action, by trying to call appropriate endpoints, results in HTTP-403 or redirect to shift list and a message, stating, the action was rejected, due to lack of permission (i. e. user has no permission to "alter history"). |
If the time of a shift has already passed it should be impossible to sign in.
The text was updated successfully, but these errors were encountered: