HI everyone.
I released a replies feature around noon (eastern) today that introduced a privacy slip-up. From noon to about 2:40 PM (est) today,
I released a replies feature around noon (eastern) today that introduced a privacy slip-up. From noon to about 2:40 PM (est) today,
The Extent of this slipup
- Every Adagia user who was signed in could see any draft by any user in their writing dashboard (the screen you see when you click write in the header)
- The title and the excerpt of the drafts were visible however the rest of the content beyond this was not visible, including the drafts' author.
- If a user clicked on a draft that wasn't theirs to try editing it they were met with an unauthorized page.
The Cause
I actually have to go run an errand right now so I'll complete this later today.
Thanks to for figuring this problem out and letting me know without snooping around. #PowerUser
Good luck debugging Sir Abe
I do want to actually not have the alerts show up on the main feed and instead have kind of like a aside popup that can be clicked and you can be taken to a list of all these alerts in the past.
@keni if I had to bet on it I would say it did happen lol. Just not a big enough site that people found out and journalists wrote about it.
@brian I actually haven't done any dev on a live server yet. For this change I fixed it and went through the standard CI pipeline which added like five minutes to the deploy lol.
@arctic the bug was actually really simple. After Brandon told me about it, it was an immediate fix. However, I do think this mistake is/will-be made by many other devs using Active Record Patterns so I'm going to make a dedicated blog to it.
Lol dev nightmare was what went through last week.