diff options
author | BonfaceKilz | 2021-10-26 20:51:19 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-28 08:34:35 +0300 |
commit | a2a8f5da64a52d52354eded0b1b3adf149a234b3 (patch) | |
tree | 316dc8afb444e6ed0a29d1748e07c10f26ca4828 /test/data | |
parent | 50553aa93b6fb0df15f30235c70cff7f08d93ef4 (diff) | |
download | genenetwork2-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 'test/data')
0 files changed, 0 insertions, 0 deletions