Purpose and access
Open Learning Management → Baseline (/baseline). A baseline records planned student counts and quantities of educational units by profession and course year for an academic year and semester. These values are used when organizing teaching and calculating workload.
The /baseline/data and /baseline/data/settings routes currently display an Under Construction screen. Operational input settings are available in the baseline's detail page opened from the list. See filling baseline data.
Before creating a baseline
Check the academic year, educational degree, learning format and the Maximum Courses setting for their combination. The profession directory must contain active leaf professions for the degree and format. Group-count columns depend on the academic structure.
Create a baseline
Click Add and enter all five required fields.
| Field | What to enter | Example |
|---|---|---|
| Academic year | The year for which workload is planned | 2026/27 |
| Semester | The semester number, exactly 1 or 2 | 1 |
| Educational degree | Degree from the directory | Bachelor's |
| Learning format | Format from the directory | Full-time |
| Start date | Calendar starting date to be stored for this baseline | 1 September 2026 |
The academic year, semester, degree and format combination must be unique, including records in Trash. A different start date does not allow a duplicate combination.
On saving, the system checks Maximum Courses. For example, with a maximum of four courses, it automatically creates course blocks 1–4 for each active leaf profession of the selected degree and format. Student and educational unit counts start at zero and course classifiers are empty. Educational units come from the current academic structure. Open the new record and enter the actual planned values.
List, editing and restoration
The list shows year, semester, degree, format, start date and approval status. Refine selection with search and filters for year, degree, format (dependent on degree), semester and start date range. Use the row's open action to access its details.
Record actions include editing, deletion and cloning. Changing an existing record's fields alone does not regenerate its blocks. After changing the baseline combination, check its professions, courses and values in the detail page and refresh professions if necessary. For duplicate errors, find the existing record, including in Trash. Restoration returns the original baseline. Check its contents and approval status afterwards.
A completed baseline or one in approval may be locked for editing depending on its approval process. Status is shown in the list and details. Active locks prevent delete and edit actions. If the workflow grants specific content-edit access, that access depends on the assigned approval permissions. The server enforces approval locking.
Clone a baseline
- Select a source baseline in the list, for example 2025/26, semester 2. Open Clone.
- Academic year, semester and start date are editable. Educational degree and learning format are prefilled from the source and locked.
- For example, select 2026/27, semester 1 and 1 September 2026. The target combination must be unused, including in Trash, and have a Maximum Courses setting.
- Save and open the new baseline. Source professions, student counts, classifiers and educational unit values have been copied.
Cloning has special course-number behavior. Within the same academic year, course numbers are unchanged. When switching to a later year, the first course stays first and other courses increase by one, capped at the destination's maximum course. For an earlier year, the current implementation also increases courses by one capped at the maximum, leaving the maximum course unchanged. The change is based on the direction of the year difference, regardless of its size. If courses coincide or rows are missing after cloning, verify values manually. Cloning does not recalculate student counts from student records.
The UI disables cloning when the source is approval-locked. The server clone operation creates a separate record and is bound to creation permission; in normal use wait until the action becomes available in the UI. If professions have changed, refresh them on the new baseline after checking transferred values.
Permissions and scopes
The list module is baseline-data; details also use baseline-data-manage. Baseline and block routes declare no faculty, profession or department scopes. The baseline model declares an empty scope list and represents a shared year, degree and format combination. Approval operations additionally depend on the workflow steps and assigned roles.
| Operation | Permissions |
|---|---|
| List and lookups | reference-datas.index, academic-terms.index; fields may need academic-years.index, educational-degrees.index, learning-formats.index |
| Create | reference-datas.store |
| Edit | reference-datas.update |
| Clone | reference-datas.store (the clone route is bound to this permission) |
| Delete, view Trash and restore | reference-datas.destroy, reference-datas.deleted-items, reference-datas.restore respectively |
| Open details | reference-blocks/get-table.getTable in the frontend (server binds it to reference-blocks.show) |
| Export | reference-datas.export for record content; separate reference-datas.export-excel, reference-datas.export-pdf for table export |
If creation fails: for no_max_course, check Maximum Courses for the selected year, degree and format. If a new baseline has no rows, check the active leaf professions associated with the degree and format. If a button is unavailable, check role permissions and approval status.
Implementation references
- BaselineDescriptor.tsx
- index.tsx
- CloneBaselineModal.tsx
- index.tsx
- pagePaths.ts
- permissionActionMap.json
- api.php
- ReferenceData.php
- ReferenceDataRequest.php
- IndexReferenceDataRequest.php
- ReferenceDataService.php
- ReferenceDataRepository.php
- ReferenceBlockService.php
- ReferenceBlockRepository.php
- api.php