torchbox/wagtail — pull request #638 by gasman (2014-09-17 11:11:24+00:00)
Title: Fix 'move page' permissions to enforce subpage_types / parent_page_types business rules

Ref: https://groups.google.com/d/msg/wagtail/OsInDdBCVOM/lxr8c5U5opsJ

Currently it's possible to move pages into any section you have permission for, regardless of any subpage_types / parent_page_types business rules that would prevent it. This PR fixes the can_move_to permission check to properly enforce these rules.