Cohort Manager is a local plugin that consolidates all cohort-related administrative tasks into a single, modern Vue 3 interface. It replaces Moodle’s fragmented native tools (scattered across Site Administration, course settings, and `tool_cohortroles`) with a unified dashboard accessible directly from the navigation menu.
Key Features
- Unified Interface: A tabbed detail view allows administrators to manage every aspect of a cohort without switching pages.
- Full CRUD & Lifecycle Management: Create, edit, delete, and search cohorts with real-time pagination. Supports rich-text descriptions, visibility toggles, context/category assignment, and theme selection.
- Cohort Portrait Dashboard: Provides an immediate visual snapshot of key metrics: total members, linked enrol instances, derived user enrolments, and role assignments.
- Add/remove members via searchable modals or bulk actions.
- Bulk Cohort Sync Enrolments: View, create, edit, toggle, and delete enrol instances linking cohorts to courses.
- Integrated Role Assignments: Surfaces `tool_cohortroles` functionality directly within the cohort view, allowing admins to assign user-context roles to cohort members and monitor sync status.
Primary Use Cases
- Onboarding: Quickly create cohorts, add hundreds of students, and link them to multiple required courses in one screen.
- Mentor Programs: Assign specific roles (e.g., "Mentor") to staff over student cohorts.
- Departmental Access: Manage course access for department-specific cohorts, including adding electives and managing groups.
- Auditing & Cleanup: Monitor cohort health via the dashboard and perform bulk cleanup of expired enrol instances at semester end.
In essence, Cohort Manager streamlines complex, multi-step Moodle administrative workflows into efficient, single-page operations.