From 8fcfe55ba8d12d3b2097697bca45dc2d95d2f05a Mon Sep 17 00:00:00 2001 From: Jason Irish Date: Wed, 22 Nov 2017 12:22:57 -0600 Subject: [PATCH] Subsite - allow canEdit to be extended --- src/Model/Subsite.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Model/Subsite.php b/src/Model/Subsite.php index 0093b35e..884436f9 100644 --- a/src/Model/Subsite.php +++ b/src/Model/Subsite.php @@ -637,6 +637,11 @@ public static function hasMainSitePermission($member = null, $permissionCodes = */ public function canEdit($member = false) { + $extended = $this->extendedCan(__FUNCTION__, $member); + if ($extended !== null) { + return $extended; + } + return true; }