It is a great sadness that plays in the "theater of the absurd."
I know this is not a case of apartheid, btw. I was only rebutting your claim that if this were a civil right issue, then it would somehow be OK. But if you were right that it was just a civil right issue, then it wouldn’t. You can’t occupy a state, and strip them of rights which your own citizens have. That is apartheid.
But what is going on here is not apartheid, it is a war crime. Israel isn’t merely stripping occupied citizens of their rights. Israel is a annulling any distinction between a civilian and combatants, and treating the entire civilian population as combatants, including by employing dubious mass surveillance tactics.
---
* Edit, to clarify. Many Iraqi citizens were indeed stripped of their civil rights (as we know from documents leaked by Chelsea Manning). However those cases constituted war crimes and in some cases the criminals were even prosecuted and found guilty.
By dressing soldiers in civilian clothes, Hamas forces Israel to guess who is or isn't a combatant. Given that Israel has to make such calls, shouldn't they collect all available information to make them as accurately as they can? Shouldn't we be more concerned about mistakes (leading to civilians deaths) than about privacy?
But also, no. The purpose obviously isn’t to find combatants. If it is it is very poor one obviously. No they are doing this to justify mass targeting of civilians.
In reality this does not only strip Palestinians of their privacy, it also creates potential targets out of any Palestinian.