Skip to content
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

Don't allow editing an active infraction's expiration into the past #2032

Open
mbaruh opened this issue Dec 31, 2021 · 0 comments · May be fixed by #2039
Open

Don't allow editing an active infraction's expiration into the past #2032

mbaruh opened this issue Dec 31, 2021 · 0 comments · May be fixed by #2039

Comments

@mbaruh
Copy link
Member

@mbaruh mbaruh commented Dec 31, 2021

!infraction edit can take an ISO datetime to edit the expiration time, but there's no guard to prevent it from specifying a past date, immediately pardoning the infraction as a result.

The same goes for !infraction append.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants