silverstripe/silverstripe-cms — pull request #1035 by RuthAdele (2014-06-18 01:56:41+00:00)
Title: Change SiteTreeHints to check for canEdit

Allowing ability to have
public function canCreate($member = null) {
return MyPage::get()->count() < 1;
}
and still be able to re-order this page in the sitetree.

I have tested moving pages in site tree, with and without the canCreate and canEdit rules, can_be_root and allowed_children statics.

This Fixes #657