Lots of things wrong went on here.

First off, the park had rules regarding the wearing of headgear on certain rides, for safety reasons. So refusing to allow anyone wearing a hat, or a scarf, or a hajib, was a SAFETY issue, not a religious one.

Second, the woman involved made a mistake by verbally attacking cops. Never a good idea to start with.

Third, the cops over-reacted as well, forcing the woman to the ground and assaulting her. As well as assaulting those who came to help her. And yes, there was probably a certain amount of Islamophobia involved in the police reaction. We've all seen videos of cops over-reacting, kicking and beating an apparently submissive suspect. It happens, and should be dealt with within the law.

Screaming "religious discrimination" just because a safety issue happens to interfere with your superstitious* need to wear a scarf is just as inane as getting mad because a restaurant won't let you dine naked. You don't like the rules, don't patronize the business.

* Yes, denuseri, I know you think that's condescending. I don't care. It's no less a superstition than a ball player making the sign of the cross before an at bat, or carrying a lucky penny. It might make the person feel better, but has no bearing on anything that actually happens in their lives. Except in cases like this where clinging to your superstition violates a business' rules.