Skip to Content

← Modules catalog

IT Roles: Auto-Assignment & Notifications

Auto-assignment of roles by department and job position, expiry and limit notifications

Human Resources v18.0.1.1.0 it_roles_auto

Purpose

Automation layer on top of the IT Roles framework. Implements auto-assignment rules: when an employee is added to a department, matching roles are assigned automatically; when transferred to another department, old roles are revoked (if auto_revoke=True) and new roles are assigned. On employee creation the rules are applied immediately. On a job position change the business role declared on hr.job.it_role_id is assigned automatically (if set)

Key functionality

  • catalogue of auto-assignment rules (department + role)
  • bulk application of rules on department change (single transaction
  • trigger on employee creation (apply_department_rules +
  • automatic business role assignment based on hr.job.it_role_id
  • per-record note in the audit log when roles are revoked
  • single guard auto_sync_enabled for all cron jobs
  • cron checks for expiring assignments and delegations
  • email template for notifications (with translations)

Dependencies

it_roles mail