NodeOPCUA API Documentation
    Preparing search index...

    Interface NodeSetLoaderOptions

    interface NodeSetLoaderOptions {
        accessRestrictions?: NodeSetPermissionsPolicy;
        loadDeprecatedNodes?: boolean;
        loadDraftNodes?: boolean;
        permissions?: NodeSetPermissionsPolicy;
    }
    Index
    accessRestrictions?: NodeSetPermissionsPolicy

    the AccessRestrictions attribute: how the SecureChannel must be secured — signed, encrypted, session-bound — before the node may be reached at all.

    This one is opt-in, because it is a property of the deployment rather than of the model, and node-opcua cannot assume the deployment matches what the nodeset author had in mind. Opc.Ua.NodeSet2.xml carries 359 of these, and enforcing them denies 199 variables under the Server Object alone — the RoleSet internals, ServerConfiguration, method arguments — to any Session on an unsecured channel. That is the correct reading of the attribute, and exactly what you want on a hardened server; it is also a large behaviour change for the many deployments that run with MessageSecurityMode.None.

    Turn it on once your endpoints require signing or encryption.

    "ignore"
    
    loadDeprecatedNodes?: boolean
    loadDraftNodes?: boolean

    the <RolePermissions> element and the HasNoPermissions attribute: who may do what.

    This is a property of the information model, so it applies by default. HasNoPermissions yields an empty permission list, which is distinct from an absent <RolePermissions>: the former grants nothing, the latter inherits the namespace default.

    "apply"