Rule Extender

Populate user fields automatically through GLPI rules

LicensedGLPI 11 and 12

How it works

On sync or login, the authorization rule checks the AD/LDAP criteria, and the new actions populate the user's fields and their role in the group.

Sync or loginthe user goes through the rules
AD/LDAP group
OU
Email domain
Rule criteria
Authorization ruleautomatic assignment
Rule Extenderapplies the six new actions
Location and supervisor
Category and title
Manager or delegate
User updated

The problem

GLPI accepts AD/LDAP criteria (group, OU, email domain) in its Authorizations assignment rules, but it has no actions to populate Location, Supervisor, Category and Title. It also only adds the user to a group as a regular member, never as a manager or delegate.

What the module does

Once the module is enabled, the native rules screen gains six new actions, marked “(Rule Extender)” in the list. Four populate the user's Location, Supervisor, Category and Title from GLPI's native dropdowns. Two add the user to a group as a manager or as a delegate.

The four fields are saved through the same native path that the time zone and language actions already use, and the group actions write GLPI's own group membership, with the manager or delegate flag.

How you stay in control

Everything is configured under Administration > Rules > Authorizations assignment rules: you create or edit the rule with your AD/LDAP criteria and choose the value of each action. There is no core patch and no custom tables, and everything stays compatible with the AD/LDAP criteria of the native RuleRight.

How to get it running

  1. Enable the moduleEnable Rule Extender on the NexTool Modules page.
  2. Create the ruleUnder Administration → Rules → Authorizations assignment rules, create or edit a rule with your AD/LDAP criteria.
  3. Add the actionsAdd the actions marked "(Rule Extender)" (Location, Supervisor, Category, Title, Group as manager, or Group as delegate) with the values you want; the user is updated on the next sync or login.

What changes in your operation

The user's fields and their role in the group are now populated by the rules, and each user is updated on the next sync or login.

Features

Location through authorization rules

Assigns a Location to the user through authorization rules

Supervisor, category and title

Assigns the user's Supervisor, Category, and Title

Group as manager or delegate

Adds the user to a group as a manager or as a delegate

Native AD/LDAP criteria

Compatible with native RuleRight AD/LDAP criteria

No core patch and no custom tables

No GLPI core edits and no custom tables

See it in action

A quick tour of what the plugin does in practice, in a video and a gallery of screenshots.

Start using Rule Extender

View available plans or read the full article about this module.

Licensing Version history
Works well with

Debug GLPI rules with full transparency

Shows in the ticket, rule by rule, which criteria are met and which fail.

Rule Inspector
Need help?