aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit/__init__.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-26 20:51:19 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commita2a8f5da64a52d52354eded0b1b3adf149a234b3 (patch)
tree316dc8afb444e6ed0a29d1748e07c10f26ca4828 /wqflask/tests/unit/__init__.py
parent50553aa93b6fb0df15f30235c70cff7f08d93ef4 (diff)
downloadgenenetwork2-a2a8f5da64a52d52354eded0b1b3adf149a234b3.tar.gz
Use new "get_user_access_roles" when showing a trait
* wqflask/wqflask/show_trait/show_trait.py (ShowTrait): Replace `check_owner_or_admin` with `get_user_access_roles` * wqflask/wqflask/views.py (show_temp_trait): Pass `user_id` as extra arg to ShowTrait. (show_trait_page): Ditto.
Diffstat (limited to 'wqflask/tests/unit/__init__.py')
0 files changed, 0 insertions, 0 deletions