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

Protocol Interface Permissions #803

Merged
merged 13 commits into from
Sep 10, 2024

Conversation

LiranCohen
Copy link
Member

@LiranCohen LiranCohen commented Sep 8, 2024

  • add delegateGrant ability to ProtocolConfigure
  • Allow ProtocolPermissionScope to be scoped down to a specific protocol
  • move getAuthor helper from Record util class to Message core class.

When DWAs request permissions, they will now be issued a ProtocolsQuery permission scoped to the protocol they are being authorized, as well as optionally a ProtocolsConfigure for that protocol.

Satisfies:
#801
#802

@codecov-commenter
Copy link

codecov-commenter commented Sep 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.71%. Comparing base (a5d66bf) to head (fe856be).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #803      +/-   ##
==========================================
+ Coverage   98.70%   98.71%   +0.01%     
==========================================
  Files          73       74       +1     
  Lines       11335    11469     +134     
  Branches     1631     1652      +21     
==========================================
+ Hits        11188    11322     +134     
  Misses        141      141              
  Partials        6        6              

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

@LiranCohen LiranCohen marked this pull request as ready for review September 8, 2024 20:43
csuwildcat
csuwildcat previously approved these changes Sep 8, 2024
Copy link
Member

@thehenrytsai thehenrytsai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legit! Just a couple of nits and questions.

LiranCohen and others added 2 commits September 10, 2024 11:33
Co-authored-by: Henry Tsai <henrytsai@outlook.com>
Copy link
Member

@thehenrytsai thehenrytsai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐐 🐐 🐐

@LiranCohen LiranCohen merged commit 080359c into main Sep 10, 2024
3 of 4 checks passed
@LiranCohen LiranCohen deleted the lirancohen/protocol-interface-permissions branch September 10, 2024 21:30
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.

4 participants