Skip to content

Fix deleted resources permission handling#145

Merged
das-Abroxas merged 5 commits intodevfrom
fix/resource-deletion
Jan 4, 2024
Merged

Fix deleted resources permission handling#145
das-Abroxas merged 5 commits intodevfrom
fix/resource-deletion

Conversation

@das-Abroxas
Copy link
Copy Markdown
Contributor

Deleted resources permission handling

Changes to the resource deletion concept had the unintended effect of removing deleted resources from permission handling. As a result, deleted resources could no longer be requested by users at all.

This PR fixes two bugs directly involved in the deletion handling process and resolves #142.

@das-Abroxas das-Abroxas added the fix Bug issue fix label Jan 3, 2024
@das-Abroxas das-Abroxas requested review from St4NNi and lfbrehm January 3, 2024 11:41
@das-Abroxas das-Abroxas self-assigned this Jan 3, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 3, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (70d0c86) 50.13% compared to head (ab50e1a) 50.45%.
Report is 2 commits behind head on dev.

Files Patch % Lines
src/caching/structs.rs 54.54% 5 Missing ⚠️
src/middlelayer/delete_db_handler.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #145      +/-   ##
==========================================
+ Coverage   50.13%   50.45%   +0.32%     
==========================================
  Files          81       81              
  Lines       12960    12976      +16     
==========================================
+ Hits         6497     6547      +50     
+ Misses       6463     6429      -34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@das-Abroxas
Copy link
Copy Markdown
Contributor Author

Good work, lgtm! 🤝

@das-Abroxas das-Abroxas merged commit f75d9c4 into dev Jan 4, 2024
@St4NNi St4NNi deleted the fix/resource-deletion branch March 15, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug issue fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant