Bug 52894 - ucsschool lib allows creating students without school class
ucsschool lib allows creating students without school class
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-11 10:36 CET by Daniel Tröder
Modified: 2022-04-05 15:25 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
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.069
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 2021-03-11 10:36:30 CET
In UCS@school students must be member of a school class in each school they are a member of. Only the UMC school users module enforces this. The ucsschool.lib, and thus the Kelvin API, don't.

Raise an exception if a client tries to create / modify a student without a school_class for each of the students schools.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2022-04-05 15:25:57 CEST
Just to be sure: please check if this bug violates against the upcoming new role management and then decide, on how to deal with this bug.