Children's books I've read lately:
Leminy Snickets' series.
Chronicles of Narnia.
The Hobbit.
Harry Potter and the Sorcerer's Stone.
The Red Badge of Courage.
Favorite YA Books from when I was a kid:
The Martian Chronicles, and similar works by Ray Bradbury.
Chronicles of Narnia.
Jupiter Jones series.
Encyclopedia Brown series.
Hardy Boys series.
"A Wrinkle in Time," and its sequels.
Your point?
I thoroughly enjoyed Madeleine L'Engle's "Wrinkle in Time" series as well as her books on the Austins.
I meant that, in general, kids are constantly subject to authority in a direct way that adults aren't; the point is especially driven home in boarding school stories. And they're all full of rule-breaking for good, bad or indifferent reasons, from the (relatively) innocent but ubiquitous, though forbidden, midnight feast to students staging a mass walkout. HP is strongly within that tradition.