Skip to content

Commit

Permalink
Add Kielikeskus as faculty (independentInstitute)
Browse files Browse the repository at this point in the history
  • Loading branch information
Veikkosuhonen committed Aug 1, 2023
1 parent 94292e5 commit e7bc966
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/IAMConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ const facultyIamsMap = {
svenska: ['hy-sskh-allstaff', 'hy-sskh-employees'],
'maatalous-metsätieteellinen': ['hy-mmtdk-allstaff', 'hy-mmtdk-employees'],
eläinlääketieteellinen: ['hy-eltdk-allstaff', 'hy-eltdk-employees'],
kielikeskus: [],
}

const joryGroups = [...Object.keys(joryMap)]
Expand Down Expand Up @@ -498,7 +499,6 @@ const relevantIAMs = []
.concat(oodikoneIams)

const RELEVANT_ORGANISATION_CODES = [
'H906', // Kielikeskus
'H930', // Avoin yliopisto
]

Expand Down
11 changes: 11 additions & 0 deletions src/auth/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const facultyMap = {
svenska: 'H74',
'maatalous-metsätieteellinen': 'H80',
eläinlääketieteellinen: 'H90',
kielikeskus: 'H906',
}

const data = [
Expand Down Expand Up @@ -1647,6 +1648,16 @@ const data = [
},
],
},
{
code: 'H906',
name: {
fi: 'Kielikeskus',
en: 'Language Centre',
sv: 'Språkcentrum',
},
programmes: [],
independentInstitute: true,
}
]

module.exports = {
Expand Down

0 comments on commit e7bc966

Please sign in to comment.