Bug 54174 - mention expiration_date in ucsschool-import-handbuch
Summary: mention expiration_date in ucsschool-import-handbuch
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: Documentation
Version: UCS@school 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Nico Gulden
QA Contact:
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-30 16:37 CET by Tobias Wenzel
Modified: 2024-05-31 12:39 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Wenzel univentionstaff 2021-11-30 16:37:03 CET
In Bug #54115 we introduced expiration_date in the school-lib.

So far there is no documentation for this in

https://docs.software-univention.de/ucsschool-import-handbuch-5.0.html#extending:import_user_class

(we also have this in 4.4)
Comment 2 Nico Gulden univentionstaff 2024-05-30 13:29:34 CEST
The expiration_date is mentioned in the UCS@school 4.4 manual:
https://docs.software-univention.de/ucsschool-handbuch-4.4.html#school:setup:umc:user:create

And in the UCS@school 5.0 manual:
https://docs.software-univention.de/ucsschool-manual/5.0/de/management/users.html#school-setup-umc-user-create

Looking in the code, I found `expiration_data` as attribute for the `ImportUser` class and just add it to the attribute list in https://docs.software-univention.de/ucsschool-import/5.0/de/extending.html#die-importuser-klasse
Comment 3 Nico Gulden univentionstaff 2024-05-31 12:39:19 CEST
I just added expiration_date to the attributes of the ImportUser class in the reference section:

ac902c636 | docs(import): Add expiration_date attribute to ImportUser class

The artifacts are built and published.

The attribute is located at: https://docs.software-univention.de/ucsschool-import/latest/de/extending.html#ImportUser.expiration_date