class RelatedToGlobalPermissionRuleGenerator(val nodePermissionDefinition: NodeDefinition) : AllowRuleGenerator

Permission to check that a GropiusUser is connected to a GlobalPermission with the specified Permission Assumes that node is a GropiusUser node Caution: does use the node, not the gropiusUser from the authorization context!

Parameters

nodePermissionDefinition

definition of GlobalPermission

Constructors

Link copied to clipboard
constructor(nodePermissionDefinition: NodeDefinition)

Properties

Link copied to clipboard
private val nodePermissionDefinition: NodeDefinition

Functions

Link copied to clipboard
open override fun generateRule(node: Node, rule: Rule, permission: Permission): Condition