-
Notifications
You must be signed in to change notification settings - Fork 8
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
Extended tp registrations #465
Conversation
Wow, I did not know this option existed (it's disabled on our instance). No it's fine to leave it that way, extension by an user and by an admin are two separate thing.
If it's not already implemented, sure. Now that I'm looking at the code, I think you'll need to extend the 'expiration' value of created TP account (if any) to match the new expiration date + the grace period |
Ok weird, I somehow edited your comment instead of adding one... sorry about that |
This is a vscode specific comment I believe? No really a fan of editor-specific comments in the code. Ps: 96e96d8 broke the tests I think? |
Sorry about the broken tests, pesky semicolons ;) EDIT: The error I mention in my PS is actually Issue #447 |
Yeah, the test that we had for TP booking and creation did everything in a single test case that was written in a peculiar way. I made it look like all the others and added test cases for TP extending and removing. |
I still have a couple questions that I included as comments in the code. While I'm at it, here are a couple more concerns :
While looking arround, I noticed that when a user wants to extend a Project, it is automatically extended by one year. Was I just supposed to do something like that ? Or should I make the Project extention more like this one ?
Also, should I add checks that TPs/Projects are not created retroactively (start/end date < current date) ?
closes #453