Univention Bugzilla – Bug 32035
computerroom/update does not send "isTeacher" when another user logs in
Last modified: 2013-10-07 20:17:54 CEST
If a teacher logs out (from client) and a student logs in the information in the frontend about the user is not actualised. The backend only sends the new username, not the information about the "isTeacher" flag. → All commands which are (un)available for teachers are then (un)available for the student.
Created attachment 5335 [details] patch The attached patch makes it more robust: The whole computer representation will be send if the computer changes. This will fix it. I could not find the reason why the "teacher" state was not updated. On user changes the "_userInfo" function updates it, the only thing i could imagine is that it needs to be updated on every _stateChanged() due to lost of connection.
decided to not fix it now.
ucs-school-umc-computerroom (3.0.14-1) Patch applied.
OK: 3.1 code diff FIXED: 3.1 changelog OK: 3.1 package version OK: 3.1 test OK: 3.1 package in repo OK: 3.2 code diff FIXED: 3.2 changelog FIXED: 3.2 package version OK: 3.2 test * Changelog entry in 3.1 has been fixed. * Changelog entry in 3.2 was missing. Copied it from 3.1. * Bumped version 3.2 package - package had been copied to 3.2 after fixing the bug. → VERIFIED
UCS@school 3.1 R2-2 has been released: http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2-2.pdf If this error occurs again, please use "Clone This Bug".