diff options
author | BonfaceKilz | 2022-05-24 12:48:03 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-05-27 15:17:52 +0300 |
commit | cdd46d6134b73ba729878c07c6f7a82a724a9be8 (patch) | |
tree | aa8c09253d15d0d4059c035a169d5fce41ce9387 | |
parent | 656bbc68768b7032b205862bcaa081f6d813223d (diff) | |
download | genenetwork2-cdd46d6134b73ba729878c07c6f7a82a724a9be8.tar.gz |
Make sure the user is logged in when approving data
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 8b3fd861..74f1cd15 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -810,6 +810,7 @@ def reject_case_attribute_data(): @metadata_edit.route("/case-attributes/approve", methods=["POST", ]) @case_attributes_edit_access +@login_required def approve_case_attribute_data(): case_attr_id = request.form.to_dict().get("id") with database_connection() as conn: |