Fix visibility validation
requested to merge 67-implement-a-right-management-prototyp-fix-visibility-validation into 67-implement-a-right-management-prototyp
Issue #67 (closed)
While testing the frontend I got the reminder that our validation process in the backend makes it impossible to change the visibility for existing devices from the frontend.
(Frontend just will send a patch request with setting on setting to true & the others to false. This looks ok to me. Our backend however runs this validations right away (directly after setting one entry - without waiting that the other one was set to false).
So we must switch over to a validation process that is only triggered on save (or directly before the save).
Edited by Nils Brinckmann