Univention Bugzilla – Bug 41014
Add extended options / attributes for UCS@school user roles
Last modified: 2016-07-05 11:58:25 CEST
Bug #41008 introduced object classes for user roles and an attribute which specifies the OUs the user belongs to. For each object class an extended option should be added to users/user. For the attribute ucsschoolSchool a extended attribute should be added. The attribute needs a dynamic syntax class which contains every UCS@school OU (objectClass=ucsschoolOrganizationalUnit) and present them as a dropdown.
The options should be read-only (not modifiable afterwards). Invalid combinations should currently be prevented.
The following extended attributes/options have been added: dn: cn=ucsschoolStudent,cn=UCSschool,cn=custom attributes,cn=univention dn: cn=ucsschoolTeacher,cn=UCSschool,cn=custom attributes,cn=univention dn: cn=ucsschoolStaff,cn=UCSschool,cn=custom attributes,cn=univention dn: cn=ucsschoolAdministrator,cn=UCSschool,cn=custom attributes,cn=univention dn: cn=UCSschool-Schools,cn=UCSschool,cn=custom attributes,cn=univention → the extended attribute uses the abstract object class "ucsschoolType" and requires one of the above options which contain the concrete object class. (In reply to Florian Best from comment #1) > The options should be read-only (not modifiable afterwards). → has been implemented > Invalid combinations should currently be prevented. →Bug #41351
* "Examuser" (ucsschoolExam) was added as an option too. * Options are now editable (to be able to make a teacher an admin). OK: join script OK: ldap schema OK: manual test: * enabling and disabling Option in UMC and * running User.from_dn().is_teacher() and User.from_dn().is_staff() → results match Options-setting in UMC
UCS@school 4.1 R2 has been released: http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf If this error occurs again, please use "Clone This Bug".