One of my past employers tried to give laid off employees a dignified send offs including not immediately revoking their access.
The number of people who snap and make rash decisions to try to exfiltrate data, plant backdoor logins for themselves, or sabotage company work in those hours was a much larger number than I would have guessed prior to seeing it.
I have seen that too. People on the way out trying to get access to production systems. Layoffs suck, but the business needs to protect itself from those who are departing. The company used to have more lax separation procedures but after that incident everything got locked down.
Yeah, I'm confident that didn't happen
Maybe the solution is to not do mass layoffs. Not sure there's a dignified way to let go of many humans at the same time with almost no reason for why they're being let go except maybe a vague profitability scorecard.
And also to expect and manage people snapping and giving them an off-ramp, financially but emotionally as well and maybe professionally, too. Why not try to help them find other jobs?
Companies don't just provide money, they provide people with meaning, routine, social circle, and so much, and layoffs cut all of those immediately.