If a Grouper function is controlled by attributes but there is not a suitable UI to assign them, and it follows the "marker" and "name-value pair" pattern, then the names of the name-value pairs can be auto-assigned.

This is controlled by attributes, assign these to an attribute definition (doesnt matter which attribute definition).

This specifies that when a recent memberships marker is assigned, then assign the three attributes on that assignment.

Here is an example:

Assign the recent memberships marker


And instantly all three metadata attributes automatically appear with no values



Of course when configuring the auto assign attributes, the metadata on those are auto assigned too (smile)

This is implemented with a hook, if there is a problem with it, disable in grouper.properties

# if the auto assign attribute assign hook should be auto registered
# {valueType: "boolean", required: true}
grouperHook.attributeAssign.autoAssign.autoRegister = false