aboutsummaryrefslogtreecommitdiff
path: root/wqflask/.coveragerc
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-20 11:40:16 +0300
committerBonfaceKilz2022-05-27 15:17:52 +0300
commit92703faff0f0eaedae9b12c5c5d47cf22236944d (patch)
tree985c419741b5235982560175cc1fb754836c8ec4 /wqflask/.coveragerc
parent77f12fb59c4277e2bd51f8dba78518172bca1735 (diff)
downloadgenenetwork2-92703faff0f0eaedae9b12c5c5d47cf22236944d.tar.gz
Make sure user is part of "editors" group to make (case attrs) edits
* wqflask/wqflask/decorators.py: Import "gn3.authentication.get_groups_by_user_uid". (case_attributes_edit_access): New decorator. Checks which users are in the "editors" group in Redis. * wqflask/wqflask/metadata_edits.py: Import "wqflask.decorators.case_attributes_edit_access" (update_case_attributes): Use "@update_case_attributes" decorator. (reject_case_attribute_data): Ditto.
Diffstat (limited to 'wqflask/.coveragerc')
0 files changed, 0 insertions, 0 deletions