whole-tale / girder_wholetale

Girder plugin providing basic Whole Tale functionality
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Allow user to relinquish access to a Tale. Fixes #503 #504

Closed Xarthisius closed 2 years ago

Xarthisius commented 2 years ago

How to test?

  1. Create 2 users.
  2. [user1] Create a tale and share it with user2 (access level doesn't matter)
  3. [user2] Login to dashboard and confirm you have access to the tale in "shared with me"
  4. [user2] Using swagger call PUT /tale/:id/relinquish
  5. [user2] Confirm the Tale is gone from "Shared with me"
  6. [user1] Confirm that user2 is no longer in Collaborators in Tale view > share panel.
codecov[bot] commented 2 years ago

Codecov Report

Merging #504 (0eaf57d) into master (6c31f25) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #504      +/-   ##
==========================================
+ Coverage   93.29%   93.33%   +0.03%     
==========================================
  Files          54       54              
  Lines        4103     4123      +20     
==========================================
+ Hits         3828     3848      +20     
  Misses        275      275              
Impacted Files Coverage Δ
server/lib/globus/globus_provider.py 63.80% <100.00%> (ø)
server/models/tale.py 98.05% <100.00%> (+0.08%) :arrow_up:
server/rest/tale.py 96.14% <100.00%> (+0.15%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6c31f25...0eaf57d. Read the comment docs.