public function canView($member = null)
    {
        if (parent::canView($member)) {
            return true;
        }

        if (Subsite::all_accessible_sites()->count() > 0) {
            return true;
        }

        return false;
    }
public function canView($member = null)
    {
        if (parent::canView($member)) {
            return true;
        }

        if (Subsite::all_accessible_sites()->count() > 0) {
            return true;
        }

        return false;
    }
public function canView ( $ member = null ) { if ( parent :: canView ( $ member ) ) { return true ; } if ( Subsite :: all_accessible_sites ( ) -> count ( ) > 0 ) { return true ; } return false ; }
Relax the access permissions, so anyone who has access to any CMS subsite can access this controller.
@param Member|null $member
@return bool
Relax the access permissions so anyone who has access to any CMS subsite can access this controller .