Bug 31588 - Strip blacklisted attributes from exam user
Strip blacklisted attributes from exam user
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 3.1
Other Linux
: P5 normal (vote)
: UCS@school 3.1 R2
Assigned To: Sönke Schwardt-Krummrich
Florian Best
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-30 16:44 CEST by Sönke Schwardt-Krummrich
Modified: 2013-06-07 21:38 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-05-30 16:44:12 CEST
Not all LDAP attributes of the students user objects should be copied to the temporary exam user object. There should be a attribute blacklist and a attribute-value blacklist.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-05-31 01:17:20 CEST
ucs-school-umc-exam (1.0.21-1) unstable; urgency=low

The UCR variable ucsschool/exam/user/ldap/blacklist allows blacklisting of LDAP attributes. The attribute names have to be pipe-separated (|). Default für U@S:

ucsschool/exam/user/ldap/blacklist=\
                              "mail|mailPrimaryAddress|mailAlternativeAddress"

It is now also possible to blacklist specific LDAP values:

ucsschool/exam/user/ldap/blacklist/objectClass="univentionFreeAttributes"
or
ucsschool/exam/user/ldap/blacklist/univentionFreeAttributes="First Value|2nd Val"

Changelog entry not necessary due to intermediate version.
Comment 2 Florian Best univentionstaff 2013-05-31 10:03:20 CEST
(In reply to comment #1)
> ucs-school-umc-exam (1.0.21-1) unstable; urgency=low
> 
> The UCR variable ucsschool/exam/user/ldap/blacklist allows blacklisting of LDAP
> attributes. The attribute names have to be pipe-separated (|). Default für U@S:
→ OK

> ucsschool/exam/user/ldap/blacklist=\
>                               "mail|mailPrimaryAddress|mailAlternativeAddress"
→ OK

> It is now also possible to blacklist specific LDAP values:
> 
> ucsschool/exam/user/ldap/blacklist/objectClass="univentionFreeAttributes"
> or
> ucsschool/exam/user/ldap/blacklist/univentionFreeAttributes="First Value|2nd
> Val"
→ OK

> Changelog entry not necessary due to intermediate version.
→ OK
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-06-07 21:38:47 CEST
UCS@school 3.1 R2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2.pdf

If this error occurs again, please use "Clone This Bug".