suspend fun evaluatePermission(node: Node, permission: Permission): Boolean

Evaluates if the permission is granted on node If checkPermission on the permission.context is false, no permission is evaluated Does not handle the case that the user is an admin

Return

true if the permission is granted

Parameters

node

the node where the permission must be granted

permission

the permission to check for, none is checked if null