Univention Bugzilla – Bug 34958
Check availability of UMC modules
Last modified: 2016-11-03 17:37:36 CET
According to the section "Sichtbarkeit UMC Module" of the product test https://hutten.knut.univention.de/mediawiki/index.php/Produkttests_UCS@school_3.2_R2_Berechtigungskonzept it has to be checked if users get only displayed a certain list of UMC modules after login. The list of available UMC modules depends on the user's role (student, teacher, teacher+staff, staff, school admin, domain admin). The script should check for each role if only the UMC modules noted in the wiki page are available. The check has to be run against the local UMC. Please keep in mind, that a user gets different list of available modules depending on the system he is trying to log in (e.g. DC master vs. DC slave).
A new script is added to resolve this bug with the name: 19_vailable_uc_modules In the case of 'Domänenadministrator' the minimum limit of existing modules are checked, not exclusively a certain list of modules. The case when a user is teacher+staff is not considered in this script. A holdback of this scipt is that the lists that contains the modules (id, flavor) are hard coded.
> # staff is not able to login to dc-slave > if (userType != 'staff' and serverRole != 'domaincontroller_slave'): I think "and" is not correct here (should be "or").
typo (if not already adjsuted): 19_vailable_uc_modules → 10_available_umc_modules
(In reply to Florian Best from comment #3) > typo (if not already adjsuted): 19_vailable_uc_modules → > 10_available_umc_modules typo is only in the comment 1 and as one can't edit a comment, I left it there for it is correct in the actual script name and no harm done.
(In reply to Sönke Schwardt-Krummrich from comment #2) > > # staff is not able to login to dc-slave > > if (userType != 'staff' and serverRole != 'domaincontroller_slave'): > > I think "and" is not correct here (should be "or"). Correct. Modified.
After Bug #36537, the list of modules are changed. script modified accordingly ( for 4.0 only ) The related documentation should be updated, see bug #37786.
Please integrate the new flavor of UCS@school 4.0R2 ('schoolgroups', 'teacher').
(In reply to Florian Best from comment #7) > Please integrate the new flavor of UCS@school 4.0R2 ('schoolgroups', > 'teacher'). Done.
OK