Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A non-tenant author of a Record should be able to RecordsRead their record. #812

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

LiranCohen
Copy link
Member

Currently a RecordsQuery will return any records which you are the author of or recipient of, regardless of the protocol rules.

However RecordsRead would only return a record which you are the recipient of, and fail protocol rules for messages that you are an author of.

This PR more closely aligns the two by allowing a non-tenant to Read any record which they have authored regardless of the protocol rules.

@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.71%. Comparing base (8b6eb13) to head (160f9a7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #812   +/-   ##
=======================================
  Coverage   98.71%   98.71%           
=======================================
  Files          74       74           
  Lines       11469    11471    +2     
  Branches     1652     1654    +2     
=======================================
+ Hits        11322    11324    +2     
  Misses        141      141           
  Partials        6        6           

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

@LiranCohen LiranCohen merged commit 31b0907 into main Oct 4, 2024
4 checks passed
@LiranCohen LiranCohen deleted the lirancohen/author-can-raed branch October 4, 2024 19:31
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