Univention Bugzilla – Bug 48647
Add ucsschoolRole to OU-specific groups (fixup for new schools)
Last modified: 2019-03-12 10:58:36 CET
Looks like I forgot to check the creation of a new school in bug 48226 :( This needs some additional changes +++ This bug was initially created as a clone of Bug #48252 +++ OU-specific groups in UCS@school such as Domain Users <OU>, admins-<OU>, mitarbeiter-<OU>, lehrer-<OU> and schueler-<OU> should be considered ucsschoolGroups and have a ucsschoolRole attribute as well as classes and workgroups imho.
[4.4 2054c42de] Bug #48647: Enable roles for groups and fix group roles for new schools Package: ucs-school-lib Version: 12.1.0-4A~4.4.0.201902111700 Branch: ucs_4.4-0 Scope: ucs-school-4.4
[4.4 7d19223ed] Bug #48647: fix roles for admin group
OK: manual test: -------------------------------------------------------------------------- root@m65:~# /usr/share/ucs-school-import/scripts/create_ou newou -------------------------------------------------------------------------- root@m65:~# univention-ldapsearch -LLL 'cn=*-newou*' ucsschoolRole dn: cn=admins-newou,cn=ouadmins,cn=groups,dc=uni,dc=dtr ucsschoolRole: school_admin_group:school:newou dn: cn=schueler-newou,cn=groups,ou=newou,dc=uni,dc=dtr ucsschoolRole: school_student_group:school:newou dn: cn=lehrer-newou,cn=groups,ou=newou,dc=uni,dc=dtr ucsschoolRole: school_teacher_group:school:newou dn: cn=mitarbeiter-newou,cn=groups,ou=newou,dc=uni,dc=dtr ucsschoolRole: school_staff_group:school:newou -------------------------------------------------------------------------- root@m65:~# univention-ldapsearch -LLL 'cn=Domain Users newou' ucsschoolRole dn: cn=Domain Users newou,cn=groups,ou=newou,dc=uni,dc=dtr ucsschoolRole: school_domain_group:school:newou -------------------------------------------------------------------------- REOPEN: see gitlab comment about MRO
Switched RoleSupportMixin. Added a BasicSchoolGroup which is just a BasicGroup but with the school attribute re-enabled, which is needed for the admins-$OU groups. Otherwise no role would be set for the admin group. [4.4 868160ce2] Bug #48647: Add a new BasicSchoolGroup which supports the school attribute
[4.4] 2fe18a558 Bug #48647: advisory update
UCS@school 4.4 v1 has been released. https://docs.software-univention.de/release-notes-ucsschool-4.4v1-de.html If this error occurs again, please clone this bug.