Overview
Entities in ITSM-NG represent organizational units, departments, subsidiaries, or any hierarchical structure. Each entity can have its own configuration, users, and assets.Understanding Entities
Entity Hierarchy
Entities are organized in a tree structure:- Root Entity: Top-level entity (ID 0)
- Child Entities: Sub-organizations under a parent entity
- Recursive Rights: Permissions can be inherited from parent entities
The root entity cannot be deleted and always has
entities_id = -1.Creating Entities
Create new entity
Click Add and fill in the entity details:
- Name: Entity name (required)
- Parent entity: Select the parent (if applicable)
- Comments: Optional description
Configure entity settings
Set entity-specific options across multiple tabs:
- Address
- Advanced information
- Notifications
- Assistance
- Assets
Entity Configuration Tabs
Address Tab
Configure contact information:Advanced Information
Configure LDAP and inventory integration:LDAP Directory
Link the entity to an LDAP directory:
- LDAP directory: Select the LDAP server
- LDAP DN attribute: Attribute representing the entity
- Search filter: Additional LDAP filter (optional)
Inventory tag
Set the TAG value used by inventory tools (e.g., GLPI Agent, OCS Inventory) to identify this entity.
Notification Options
Configure email notifications for the entity:Email Settings
Alert Configuration
Configure alert thresholds
Set thresholds for:
- Cartridges: Alert when stock falls below threshold
- Consumables: Alert for low consumable stock
- Contracts: Days before contract expiration
- Financial information: Days before warranty expiration
- Licenses: Days before license expiration
- Certificates: Days before certificate expiration
- Domains: Days before domain expiration
Assistance Tab
Configure helpdesk settings:Ticket Configuration
Automatic Actions
Auto-close tickets
Set delay (in days) to automatically close solved tickets:
- Inherit from parent
- Never
- Immediately
- After X days (1-99)
Auto-purge tickets
Set delay (in days) to purge closed tickets:
- Inherit from parent
- Never
- Immediately
- After X days (1-3650)
Satisfaction Surveys
Assets Tab
Configure asset management settings:Auto-fill dates
Configure which dates are automatically filled:
- Purchase date
- Order date
- Delivery date
- Start date of use
- Warranty start date
- Decommission date
Entity Hierarchy Management
Viewing Entity Tree
The entity selector displays a tree structure:Recursive Rights
When assigning profiles to users:- Recursive: User has rights to the entity and all child entities
- Non-recursive: User has rights only to the specific entity
Recursive rights automatically include new child entities created in the future.
Entity Rights Management
Required Rights
Access control for entities:/inc/entity.class.php:67-121 for field-level rights mapping.
Entity Selector
Switching between entities:Select entity
- Click entity name: Switch to that entity only
- Click icon next to name: Switch to entity and all children (recursive)
Entity Search
Use the search box in the entity selector to quickly find entities by name.Best Practices
Entity Management Tips
- Plan hierarchy carefully: Changing entity structure later can be complex
- Use meaningful names: Entity names should clearly identify the organizational unit
- Configure inheritance: Use parent entity settings where possible for consistency
- Test recursive rights: Verify recursive permissions work as expected
- Document structure: Maintain documentation of your entity hierarchy
- Regular audits: Periodically review entity assignments and settings
Common Entity Patterns
Geographic Structure
Departmental Structure
Customer/Client Structure
Troubleshooting
Cannot Delete Entity
- Root entity: Cannot be deleted (by design)
- Has children: Delete or move child entities first
- Has associated data: Transfer or delete tickets, assets, users first
- Insufficient rights: Requires rights to the entity
Inheritance Not Working
Check that:- Configuration value is set to “Inherit from parent”
- Parent entity has the setting configured
- There are no overrides at intermediate levels
/inc/entity.class.php:1380-1421 for entity notification inheritance logic.