Bug 41346 - ucsschool-import: support arbitrary UDM properties in import data
ucsschool-import: support arbitrary UDM properties in import data
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 41239
  Show dependency treegraph
 
Reported: 2016-05-25 16:52 CEST by Daniel Tröder
Modified: 2016-09-30 12:23 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
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 Daniel Tröder univentionstaff 2016-05-25 16:52:52 CEST
Support arbitrary UDM properties in import data.

Import data (and a corresponding mapping) can contain data that should be saved as UDM properties of the user.

* _any_ UDM property?
* white/black list?
* make a UCRV?
* exclude the ones that exist already as ucsschool.lib.models.attributes in the User?

I will for now allow all properties. Please discuss/suggest about this.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-05-26 11:11:03 CEST
> * _any_ UDM property?
→ I would say "yes"

> * white/black list?
> * make a UCRV?
> * exclude the ones that exist already as ucsschool.lib.models.attributes in
> the User?
→ since per default the import user is "root" on the DC master, I currently do not see the need for such lists/restrictions
Comment 2 Daniel Tröder univentionstaff 2016-05-26 15:38:06 CEST
Implemented in r69557. No restriction on the attributes is made.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2016-06-16 02:45:12 CEST
Already covered by ucs-test script 34_import-users_via_cli_v2.
→ verified
Comment 4 Florian Best univentionstaff 2016-06-28 18:24:56 CEST
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".