diff --git a/code/RelatedPageLink.php b/code/RelatedPageLink.php index e97a098..cabbd72 100644 --- a/code/RelatedPageLink.php +++ b/code/RelatedPageLink.php @@ -85,6 +85,15 @@ class RelatedPageLink extends DataObject { return '' . Convert::raw2xml($url) . ''; } + function canView($member = null) { + return $this->MasterPage()->canView($member); + } + function canEdit($member = null) { + return $this->MasterPage()->canView($member); + } + function canDelete($member = null) { + return $this->MasterPage()->canDelete($member); + } } ?>