1 Helpful

How to define a Membership Rule for a Calculated Authorization Group

Nick
By Nick
Last updated: 3 days ago
2 min read 1,283 views
Administrator
Related Applications

Overview

Calculated Authorization Groups use a rule engine to determine membership automatically. Rules are evaluated every night by the cron scheduler and can also be triggered on demand. Each rule belongs to a rule set, and each set has a logic operator that determines how it combines with the others.

Logic operators

OperatorEffect
ORUnion — this rule set adds members to the group population.
ANDIntersection — this rule set restricts the population to users who also match this set.

Adding a rule

  1. Open the group detail view and navigate to the Rules tab.
  2. Click Add membership rule.
  3. Select a rule type from the available system-defined options (e.g. department, structure, contract type). System administrators can additionally create a manual rule using a custom SQL condition scoped to the current brand.
  4. Set the logic operator (OR or AND) for this rule set.
  5. Optionally enter a human-readable description of what the rule does.
  6. Click Create rule.

Testing rule logic before saving

Click Test logic to evaluate all active rule sets against the current user database without committing any changes. The result banner shows how many users would be acquired.

Applying rules immediately (force acquisition)

Click Force acquisition to apply all rules immediately without waiting for the nightly cron. The system updates the member list and shows a confirmation with the number of memberships acquired.

Reordering and deleting rules

Rules within a set can be reordered by drag-and-drop. To delete a rule, click its delete icon and confirm the prompt. Default groups are protected — their rules cannot be modified or deleted.


Did you find this article helpful?
1 out of 1 found this helpful

divider

Related Articles

Sponsored
arrow-up icon
ESC