I have a pagetype (NewsCategory extends Page) with this canEdit function:
function canEdit($Member = null){
if(permission::check('PAGETYPE_NEWSCATEGORY_EDIT')){
return true;
} else {
return false;
}
}
In my understanding this should prevent a user (not having the correct perms) to edit pages with this pagetype,
which is correct. But in my case it's also preventing users to create children under this pagetype. Why?
This pagetype should be a holder for NewsArticles. User should can create NewsArticles but should not be able
to edit NewsCategory ...
?