From 6505ad758f50cbe98f4b5debc8999c02bb09fb9c Mon Sep 17 00:00:00 2001 From: Max Metz Date: Tue, 10 Sep 2024 17:45:32 +0200 Subject: [PATCH] bsmd authorization for times PUT --- src/server/BreCal/validators/input_validation_times.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/server/BreCal/validators/input_validation_times.py b/src/server/BreCal/validators/input_validation_times.py index aee8679..28e450f 100644 --- a/src/server/BreCal/validators/input_validation_times.py +++ b/src/server/BreCal/validators/input_validation_times.py @@ -85,13 +85,10 @@ class InputValidationTimes(): # 2.) datasets may only be created, if the respective participant type did not already create one. InputValidationTimes.check_if_entry_already_exists_for_participant_type(user_data, loadedModel, content) - # 3.) only users who are *not* of type BSMD may post times datasets. - InputValidationTimes.check_user_is_not_bsmd_type(user_data) - - # 4.) Reference checking + # 3.) Reference checking InputValidationTimes.check_dataset_references(content) - # 5.) Value checking + # 4.) Value checking InputValidationTimes.check_dataset_values(user_data, loadedModel, content) return