-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Create an orphaned
record, & use it for bogus accounts.
#17
Comments
Created an I will change the code such that if a user submits an update, with no email address registered, their update will be denied with an error. As a second step all records owned by users with no email address will be updated to become CNAME records for The end result will be:
|
This is embarrassing! When the project was created we had one table of records, such that if you had the login Almost immediately users asked for more. So I split things up, and created the To find records for a user:
So why is this embarrassing? It turns out I didn't ever delete the records that matched the login name. When I added the records table I updated all users. So if in the past there was:
I inserted a record to cope with the change:
The only users in the database with missing emails were those who managed zero records. i.e.. There was no entry in This means there are no orphans to update - in the sense that this bug was original required to handle - only migration-orphans. TODO:
|
This is now complete; I've written a dumping utility to find all records not updated in 30 days, and set their values to be If the users restore their usage in the next month they can remain, if not I'll purge them at that time. |
Hello and thank you for dhcp.io. I guess this is the change that removed my bifrost.dhcp.io record over the weekend? Unfortunately it seems that I cannot just reregister as no new users are allowed. |
I'm sorry for the removal, yes this issue and a couple of other changes were most likely to blame. Drop me a mail, and I'll reinstate your account and your records this evening when I get home. |
Thanks, I'll try. Although unfortunately you have |
Tracked here now - will sort out this evening. |
(resolved) |
We're moving to a situation where several users are going to need to be updated because their details are wrong, and we can't contact them.
Suggest we create:
All the records owned by bogus users will be remapped into CNAME records pointing to that, unless/until they update themselves. If they never update themselves we can delete the accounts after a month or two.
The text was updated successfully, but these errors were encountered: