diff options
author | BonfaceKilz | 2022-05-20 11:40:16 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-05-27 15:17:52 +0300 |
commit | 92703faff0f0eaedae9b12c5c5d47cf22236944d (patch) | |
tree | 985c419741b5235982560175cc1fb754836c8ec4 /VERSION | |
parent | 77f12fb59c4277e2bd51f8dba78518172bca1735 (diff) | |
download | genenetwork2-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 'VERSION')
0 files changed, 0 insertions, 0 deletions