HR Operations · Moodle Integration & Security
PeopleLens — HR & Moodle Cohort Operations
Employee reconciliation, cohort management, and accountable Moodle workflows
An HR-focused web interface for Moodle 4.4.3 that reconciles employee email lists with cohorts, reviews activity-completion signals, and provides controlled account and membership workflows with privacy-aware audit logs.
01 · PROBLEM
The operational challenge
HR teams need a reliable way to compare active-employee lists against Moodle cohort membership and follow up on mismatches without treating a missing email as proof of resignation or accidentally changing production accounts.
02 · SOLUTION
How I approached it
I developed a PHP/JavaScript application for cPanel hosting with protected Moodle Web Services access, email-based matching, completion status reporting, filterable exports, and preview-first cohort/account operations. Sensitive settings require re-authentication; write actions are disabled by default and require additional approval controls.
03 · KEY FEATURES
What the system does
Inspect Moodle cohorts and scoped user membership using authorized Web Services
Reconcile HR existing-employee email lists and mark unknown mismatches for verification rather than automatic offboarding
Review activity completion with clear caveats: completion is not necessarily a submission or passing result
Searchable, filterable completion tables with XLSX/CSV export and clear completed/incomplete indicators
Preview copying cohort membership without deleting source members, plus scoped email-based membership changes
Preview-first CSV account creation with existing-user detection and separately approved writes
Re-authentication for sensitive settings, private token storage outside webroot, login throttling, and activity logs
Synthetic CI and browser QA documented; staging with real cPanel and Moodle 4.4.3 remains a release gate
04 · TECHNOLOGY
Tools and platform
05 · OUTCOME