Skip to main content

validate_node_write

Function validate_node_write 

Source
pub fn validate_node_write(
    node: &NodeType,
    context: &RequestContext,
    node_to_write: &ParsedWriteValue,
    type_tree: &dyn TypeTree,
) -> Result<(), StatusCode>
Expand description

Validate that the user given by context can write to the attribute given by node_to_write on node.