Skip to content

Conversation

@tw4l
Copy link
Member

@tw4l tw4l commented Feb 9, 2023

Connected to #284

  • Add permissions check to ensure crawler users can only delete their own crawls
  • Fix broken endpoint
  • Delete files from storage as well as deleting crawl from db
  • Add tests

The nightly test (which checks the database as well as verifying that files are no longer available for download after crawl deletion) was run in this workflow and passed before I moved it back to nightly: https://github.com/webrecorder/browsertrix-cloud/actions/runs/4177896196/jobs/7236029282#step:14:21

@tw4l tw4l force-pushed the issue-284-delete-crawls branch from d8ade99 to 51d7021 Compare February 14, 2023 18:11
@tw4l tw4l changed the base branch from main to issue-567-expiring-invites February 14, 2023 18:11
@tw4l tw4l force-pushed the issue-284-delete-crawls branch 2 times, most recently from 0829e3e to dfc7311 Compare February 14, 2023 20:52
Base automatically changed from issue-567-expiring-invites to main February 14, 2023 21:07
@tw4l tw4l force-pushed the issue-284-delete-crawls branch 3 times, most recently from ab35b13 to b8b2537 Compare February 14, 2023 22:02
@tw4l tw4l marked this pull request as ready for review February 14, 2023 22:02
@tw4l tw4l requested a review from ikreymer February 14, 2023 22:02
tw4l added 2 commits February 14, 2023 23:56
- Add permissions check to ensure crawler users can only delete
their own crawls
- Fix broken endpoint
- Delete files from storage as well as deleting crawl from db
- Add tests, including nightly test that ensures crawl files are
no longer accessible after the crawl is deleted
@tw4l tw4l force-pushed the issue-284-delete-crawls branch from b8b2537 to 48a1f19 Compare February 15, 2023 04:56
@tw4l tw4l force-pushed the issue-284-delete-crawls branch from 22f7db1 to 899e1da Compare February 15, 2023 16:43
@tw4l
Copy link
Member Author

tw4l commented Feb 15, 2023

@ikreymer the intermittently failing test is fixed (ran k3d CI jobs 4 times to make sure) and this is now ready for review

@tw4l tw4l merged commit bd4fba7 into main Feb 16, 2023
@tw4l tw4l deleted the issue-284-delete-crawls branch February 16, 2023 02:06
@tw4l tw4l mentioned this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants