Here is an interesting discussion of the ethics of shooting the execution that I previously sent in.
https://newseumed.org/idea/the-execution-of-ruth-snyder-a-case-study-in-media-ethics/
Lots of questions to ask. Honestly, I'd never think of most of the questions. I'd be too concentrated on getting the shot. And even if I did think of them, unless I'd be going to jail for a long time or get executed, it just does not matter to me.
I've written on this subject extensively. Basically, if you are a street / doc photog you put the photo first if you are serious. If you don't want to do that, then ask for permission and posed / staged photos and put your ethics first.
If I followed societal conventions and rules...I wouldn't have a fraction of what I've shot. Weegee summed it up best..."you can't be a nice Nellie and do (street) photography."