Skip to content

Commit

Permalink
Subsite - allow canEdit to be extended
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish committed Nov 22, 2017
1 parent 7bf430b commit 8fcfe55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Model/Subsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8fcfe55

Please sign in to comment.