Bug 52970 - demo_admin missing school_admin role
Summary: demo_admin missing school_admin role
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: Metapackages
Version: UCS@school 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS@school 4.4 v9
Assignee: Daniel Tröder
QA Contact: Ole Schwiegert
URL:
Keywords:
Depends on:
Blocks: 52147 52986 53014
  Show dependency treegraph
 
Reported: 2021-03-22 11:38 CET by Daniel Tröder
Modified: 2021-03-30 12:29 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):
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 Daniel Tröder univentionstaff 2021-03-22 11:38:38 CET
The create_demoportal.py script in ucs-school-metapackage does not append the school_admin schoolRole to the user, when it makes the teacher an admin.
Comment 1 Daniel Tröder univentionstaff 2021-03-22 11:43:26 CET
Fixed for new and existing installations in:

[dtroeder/52970_fix_demo_admin] b4dd6c41f Bug #52970: add 'school_admin' role to user 'demo_admin'
Comment 2 Ole Schwiegert univentionstaff 2021-03-22 13:36:42 CET
Works for me on update and new installation. Can be merged and build
Comment 3 Daniel Tröder univentionstaff 2021-03-22 15:30:00 CET
Added changelog, merged, build:

[4.4] b3cecac58 Bug #52970: add 'school_admin' role to user 'demo_admin'
[4.4] 820701a9b Bug #52970: Merge branch 'dtroeder/52970_fix_demo_admin' into 4.4
[4.4] def08663b Bug #52970: handle no OU 'DEMOSCHOOL' and no user 'demo_admin'
[4.4] 5080ccce8 Bug #52970: advisory

ucs-school-metapackage (12.0.4-13)
Comment 4 Ole Schwiegert univentionstaff 2021-03-24 08:07:47 CET
Changelog: OK
Advisory: OK
Jenkins: OK
Comment 5 Tobias Wenzel univentionstaff 2021-03-24 14:14:15 CET
UCS@school 4.4 v9 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.4v9-de.html

If this error occurs again, please clone this bug.