Neos.ContentRepository/Classes/Domain/Model/NodeData.php
public function isAccessible()
    {
        if ($this->hasAccessRestrictions() === false) {
            return true;
        }

        if ($this->securityContext->canBeInitialized() === false) {
            return true;
        }

        foreach ($this->accessRoles as $roleName) {
            if ($this->securityContext->hasRole($roleName)) {
                return true;
            }
        }

        return false;
    }
public function isAccessible()
    {
        if ($this->hasAccessRestrictions() === false) {
            return true;
        }

        if ($this->securityContext->canBeInitialized() === false) {
            return true;
        }

        foreach ($this->accessRoles as $roleName) {
            if ($this->securityContext->hasRole($roleName)) {
                return true;
            }
        }

        return false;
    }
public function isAccessible ( ) { if ( $ this -> hasAccessRestrictions ( ) === false ) { return true ; } if ( $ this -> securityContext -> canBeInitialized ( ) === false ) { return true ; } foreach ( $ this -> accessRoles as $ roleName ) { if ( $ this -> securityContext -> hasRole ( $ roleName ) ) { return true ; } } return false ; }
Tells if this node may be accessed according to the current security context.

@return boolean
Tells if this node may be accessed according to the current security context .