diff options
author | zsloan | 2020-08-31 11:25:10 -0500 |
---|---|---|
committer | zsloan | 2020-08-31 11:25:10 -0500 |
commit | e754baaf51150156c159f59c8ba1fda0ba0a7269 (patch) | |
tree | fe44e604ce38f069cb7dafe0a152f000960e6f98 /test/requests/test_login_github.py | |
parent | dba31ef2aa9e3f89621848fdb79b915dbd3c56e2 (diff) | |
download | genenetwork2-e754baaf51150156c159f59c8ba1fda0ba0a7269.tar.gz |
Fixed issue that was causing updating resource default privileges to not
work
* wqflask/utility/redis_tools.py - There was an issue where resources
wouldn't be updated if they already existed. This is because the code
didn't yet account for the "update" tag (that is meant to give the
option of preventing updating resources when running the script to enter
all resources into Redis). I changed the logic to add a resource if
"update" is True or the resource doesn't already exist (so it won't if
update is False and the resource exists).
Diffstat (limited to 'test/requests/test_login_github.py')
0 files changed, 0 insertions, 0 deletions