Bug 49961 - Create UCRV to toggle PC restart screen during exam start
Create UCRV to toggle PC restart screen during exam start
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v4
Assigned To: Ole Schwiegert
Daniel Tröder
:
Depends on:
Blocks: 49960
  Show dependency treegraph
 
Reported: 2019-08-05 09:19 CEST by Ole Schwiegert
Modified: 2019-11-14 17:57 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
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 Ole Schwiegert univentionstaff 2019-08-05 09:19:51 CEST
Create UCRV to toggle PC restart screen during exam start.

On new installations toggled off by default
Existing installations shall remain current behavior (screen is shown)
Comment 1 Ole Schwiegert univentionstaff 2019-08-06 10:01:46 CEST
Worked on in oschwieg/4.4/49961
Comment 2 Ole Schwiegert univentionstaff 2019-08-07 08:26:55 CEST
Implemented with following behavior:

UCRV := ucsschool/exam/default/show/restart
On new installations: unset thus defaults to False
On updates: set to True thus reboot page is shown (errata compatibility)
defaults to False thus reboot page is not shown

Please reopen for build and merge (advisory and changelog will be added at that point)
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2019-08-09 10:38:37 CEST
User Story:

As a teacher I don't want to have to restart all computers before I start the class test to save time and effort.

Requirements:

* There is a UCR variable that allows domain administrators to enable the "Restart Student Machines" view.
* This is necessary if computer group policies are to be stored.

Suggestion:

* Exams users are allowed to log on to all computers in the computer room.
* For original users the login is limited to the school server.

Acceptance criteria:

* Assuming I start a class test, unless the domain administrator configures something else, the computer room overview appears directly (no view "Restart student computers").
* Assuming I start a class test, if the domain administrator has configured it with a UCR variable, the "Restart Student Machines" view appears.
* If this is implemented, the manual must explicitly state that the UCR variable must be set when setting up the class work mode or computer policies.
* This UCR variable is set by default for new installations (=no restart). It is sufficient if it works with Windows10.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2019-08-09 15:50:37 CEST
Looks good for me so far.
- manual change
- restart page is hidden by default
- restart hint at end of exam mode is only shown if restart page is enabled

Missing:
- merge
- build
- YAML
- final functional test
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2019-11-04 10:32:19 CET
(In reply to Sönke Schwardt-Krummrich from comment #4)
> Missing:
> - merge
> - build
> - YAML
> - final functional test
- large release notes entry
Comment 6 Ole Schwiegert univentionstaff 2019-11-07 09:01:22 CET
Branch rebased, merged into 4.4 and build. YAML and Changelog entries added.

Package: ucs-school-umc-computerroom
Version: 11.0.0-11A~4.4.0.201911070856
Branch: ucs_4.4-0
Scope: ucs-school-4.4

Package: ucs-school-umc-exam
Version: 9.0.1-19A~4.4.0.201911070859
Branch: ucs_4.4-0
Scope: ucs-school-4.4

Please check again if the UCR is still set correctly in all the scenarios
Comment 7 Ole Schwiegert univentionstaff 2019-11-11 12:01:11 CET
Package: ucs-school-umc-exam
Version: 9.0.1-20A~4.4.0.201911111157
Branch: ucs_4.4-0
Scope: ucs-school-4.4

fix postinst
Comment 8 Daniel Tröder univentionstaff 2019-11-11 12:33:00 CET
OK: code change
OK: manual test
Comment 9 Sönke Schwardt-Krummrich univentionstaff 2019-11-14 17:57:09 CET
UCS@school 4.4 v4 has been released.

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

If this error occurs again, please clone this bug.