I disagree - you're referring to permanent residency as a citizen of an EU member state.
Post Brexit, unless the draft agreement is ratified or other arrangements are made, then we will possibly all have to start again from scratch.
If the agreement is ratified, which looks doubtful, then we'll be able to swap our residency certificates for TIEs, and those of us with five years legal residency will indeed get a permanent TIE.