# Competencies ## Purpose and structure Open **Learning Management → Competencies** (`/competences`). A competence describes knowledge, skills or other expected outcomes that can be linked to a learning plan subject or a professional educational program's learning outcome. There are two related directories. A competence type classifies competences with a name, abbreviation and status. A competence is an individual record with a code, degree, type and validity dates. For example, the Professional type contains PC-01 “Design information systems”. ## Create a competence type Open module settings from the main page (`/competences/settings`). The settings button requires type read access. Click Add and fill the language tabs. | Field | Example | Rule | | --- | --- | --- | | Name | Professional | Required in each submitted language, maximum 50 characters on the server. | | Abbreviation | PC | Required in each submitted language, maximum 50 characters on the server. | | Status | Enabled | Defaults to enabled (1); disabled is sent as 0. | For Russian enter Профессиональные / ПК, and for Armenian Մասնագիտական / ՄԿ. At least one language entry must be filled; blank names are omitted. Enter an abbreviation for every submitted name. The server checks that each language exists and that the name and abbreviation are unique among nondeleted records in that language. The generic form may allow more characters than the server's 50-character limit, so follow the server limit. Save, locate the new type in the list and return to competencies. Type labels use the available localized name. Change status with the table switch or edit form. Disabling preserves the record and its relations. The current competence type selector filters records by the presence of a name, without filtering by status. Disabling a type does not prevent all use of its competences. ## Create a competence Click Add in the main directory. Select an existing degree and the type created above. | Field | Example | Rule | | --- | --- | --- | | Name | Design information systems | Required translation, maximum 255 characters. | | Abbreviation | IS design | Optional translation. | | Code | PC-01 | One shared required value across languages; maximum 25 characters on the server. | | Category | Design | Optional translated text. | | Educational degree | Bachelor's | Required relation to the degree directory. | | Competence type | Professional | Required relation to the type directory. | | Start date | 01.09.2025 | Required date. | | End date | 31.08.2029 or blank | Optional date. | Complete the name and abbreviation in other languages as needed, then save. The server checks uniqueness of competence name translations. The code is used as the visible label when assigning competences to a subject, so keep it unambiguous. Server code validation restricts length but declares no uniqueness rule. Start and end dates are stored directory attributes. The end date can be blank, and the current server does not declare a separate chronological comparison rule. The competence list and subject selector do not automatically hide entries based on these dates. Maintain meaningful dates and check the relevant records before assigning them. ## Find, update and use competences Search the main table by translated name. Filter by code, educational degree and competence type. Rows display name, abbreviation, code, category, degree, type and both dates. Open Edit to correct a record. Changes to a translation or code retain the same ID. The server adds or updates submitted translations while unsubmitted ones remain stored. To link a competence to a subject: 1. Open the appropriate [learning plan](/en/docs/learning-plans) and its [details](/en/docs/learning-plan-details). 2. Find the subject row, for example “Information systems design”. 3. Choose code PC-01 in the competencies cell. The multiple selector permits several competences per subject. 4. Save the plan changes and reopen it to verify the assignment. The saved relation uses the competence ID. In a professional educational program, competences can also be assigned to learning outcomes through a multiple selector. Creating a competence does not assign it to subjects or program outcomes automatically. ## Delete and restore Both directories support deleted records. With the deletion right, use the action on the row. To recover an entry, open the trash and restore the record. A competence type cannot be deleted while any nondeleted competence still belongs to it. The server returns `competence_setting_links_check`. Before retiring a type, inspect its competences and move them to the appropriate type where necessary. Verify learning plan and program relations before deleting competence records. Deleting a competence is a soft deletion, which removes it from the active directory. It does not automatically replace its links in documents. After restoration, verify the related degree and type, their availability and the earlier assignments. ## Permissions and scopes | Action | Competencies | Types | | --- | --- | --- | | Open module | `competence` | `competence-types` (the route also accepts `competences-settings`) | | Read | `competences.index` | `competence-settings.index` | | Create | `competences.store` | `competence-settings.store` | | Update | `competences.update` | `competence-settings.update` | | Delete | `competences.destroy` | `competence-settings.destroy` | | Trash | `competences.deleted-items` | `competence-settings.deleted-items` | | Restore | `competences.restore` | `competence-settings.restore` | The competence form requires access to the type and degree directories (`competence-settings.index` and `educational-degrees.index`). Both competence directories are shared; their resource routes declare no faculty or profession scopes. Access to a specific plan or program is checked separately when assigning records. ## Common issues - **Settings button missing:** check the `competence-types` module and type read access. - **Type missing from selector:** create the type, provide a name in the relevant language, verify that it has not been deleted, and refresh the directory. - **Type or competence cannot be saved:** inspect required values, the language, selected degree/type, length limits and duplicate names or abbreviations. Validation can return the general duplicate-data message (`duplicate_data_create` or `duplicate_data_update`). - **Type cannot be deleted:** inspect its linked competences and assignments before reclassifying them. - **Competence does not appear in plan:** reload the plan, verify the code and access to the directory. Saving a directory record and assigning it are separate actions. - **Assignment cannot be edited:** verify plan editing permissions and approval status. ## Implementation references - [CompetencesDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/CompetencesDescriptor.ts) - [CompetencesSettings.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/components/CompetencesSettings/App/CompetencesSettings.tsx) - [selector.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/store/selector.ts) - [registerDefaultRelations.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/core/relations/registerDefaultRelations.ts) - [CurriculumEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/components/CurriculumEditor.tsx) - [usePepEditorColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/hooks/usePepEditorColumns.tsx) - [routes/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/routes/api.php) - [routes/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CompetenceSettings/routes/api.php) - [CompetenceRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/Http/Requests/CompetenceRequest.php) - [CompetenceSettingRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CompetenceSettings/Http/Requests/CompetenceSettingRequest.php) - [CompetenceController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/Http/Controllers/CompetenceController.php) - [CompetenceSettingsController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CompetenceSettings/Http/Controllers/CompetenceSettingsController.php) - [CompetenceTableRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/Repositories/CompetenceTableRepository.php) - [CreateCompetencesSettingsModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/components/CompetencesSettings/components/CompetencesSettingsTable/components/CreateCompetencesSettingsModal/CreateCompetencesSettingsModal.tsx) - [CompetencesSettingsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/components/CompetencesSettings/components/CompetencesSettingsTable/App/CompetencesSettingsTable.tsx)