major
minor
Background
The Node predicate function determines for a given tree node (only parameter?) whether it is an element of the displayed tree, e.g. to insert newly created nodes from an external session. In addition, only rows that are valid nodes in the sense of this function can be selected.
The node predicate should only be fulfilled for those nodes that would also be covered by the "children" function of the Model Builder, in order to ensure that no newly created nodes from other sessions are displayed that the logged-in user would not normally be able to see.
Problem
The "children" function of the model builder receives the component model as a parameter, but the "node predicate" function does not. This means that the latter function does not have the same options for deciding whether a given node fulfils the node predicate or not. In addition, the documentation for the node predicate function does not indicate which parameters are available.
Solution
Extend the "Node predicate" function to include the component model parameter and adapt the documentation accordingly.