Frankly I don't know enough about those specific matters, but I imagine that one could at least make some counterarguments. For example, that something like PRISM arguably was needed in the wake of 9/11, and that once the US was committed to Middle Eastern wars and actions under Bush, that it was the next admin's responsibility to try to maintain the program in some way, shape or form, if not finding a way to end it. And indeed, bin Laden was brought down under Obama, which was a huge priority.
That doesn't mean I agree or excuse what Obama did on that front, but one thing I've noticed is that virtually every single POTUS going back many years can be blamed for some kind of imperialist action that isn't necessarily their own priority, but more of a nationalist or military-industrial complex plan, as legally greased by lobbying, industry pressures and so forth.
There's also the fact that greater surveillance might be something which could be argued for as a responsible anti-terror tool, given the state of the modern world, assuming it was used responsibly, which of course is a whopper of an assumption. My point though is that someone like the orange monster never should have been elected under any reasonable scenario, so in a way it's also like giving dangerous tools and catastrophic bombs to a toddler. So it's that dangerous combination that makes everything much worse in this late-stage capitalist world, it would seem.
Anyway, I'm kinda just thinking out loud, avocat du diable. I would need to study the ins and outs to get a better sense of my opinion on these things...