Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Disable eternal editing rights from end-dateless events #519

Open
aleksisalonen opened this issue Jan 27, 2020 · 1 comment
Open

Disable eternal editing rights from end-dateless events #519

aleksisalonen opened this issue Jan 27, 2020 · 1 comment

Comments

@aleksisalonen
Copy link
Contributor

Currently you can edit events without end dates ad infinitum in the UI, even thought the API does not allow editing past events.

For events without an end date, build a validation that checks whether the event as a whole is situated in the past and disallow editing past ones.

@Rikuoja
Copy link
Contributor

Rikuoja commented Jan 27, 2020

In the backend, events without end times always end at midnight. Therefore, the same rule should be used here, i.e. if end time is not specified, event can be edited until midnight on starting day.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants