code/SiteConfig.php
public function canView($member = null)
    {
        if (!$member) {
            $member = Security::getCurrentUser();
        }

        $extended = $this->extendedCan('canView', $member);
        if ($extended !== null) {
            return $extended;
        }

        // Assuming all that can edit this object can also view it
        return $this->canEdit($member);
    }
public function canView($member = null)
    {
        if (!$member) {
            $member = Security::getCurrentUser();
        }

        $extended = $this->extendedCan('canView', $member);
        if ($extended !== null) {
            return $extended;
        }

        // Assuming all that can edit this object can also view it
        return $this->canEdit($member);
    }
public function canView ( $ member = null ) { if ( ! $ member ) { $ member = Security :: getCurrentUser ( ) ; } $ extended = $ this -> extendedCan ( 'canView' , $ member ) ; if ( $ extended !== null ) { return $ extended ; } // Assuming all that can edit this object can also view it return $ this -> canEdit ( $ member ) ; }
Can a user view this SiteConfig instance?

@param Member $member
@return boolean
Can a user view this SiteConfig instance?