fun generatePredicateCondition(nodePermissionNode: Node, permission: Permission, permissionNames: List<String>): Condition
Generates the condition for the authorization Is meant to be used in the where part of an existential subquery If any permission in permissionNames is present, the condition evaluates to true
Parameters
nodePermissionNode
the CypherDSL node of the NodePermission in the match pattern
permission
used to obtain the GropiusAuthorizationContextBase to check for the correct user
permissionNames
list of permissions on