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

Create and process PermissionsGrant messages #405

Merged
merged 2 commits into from
Jun 23, 2023
Merged

Conversation

diehuxx
Copy link

@diehuxx diehuxx commented Jun 23, 2023

This PR creates and processes PermissionsGrant messages. It does NOT implement grant-based authorization of other DWN messages. That'll be added in the next PR.

}

// validate PermissionsRequestId if it is included
if (message.descriptor.permissionsRequestId !== undefined) {
Copy link
Member

@thehenrytsai thehenrytsai Jun 23, 2023

Choose a reason for hiding this comment

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

Given that permissionsRequestId is optional, I wonder how practically useful it is, my theory is that it is not very, and thus if you agree, am leaning towards removing it for now.

Copy link
Author

Choose a reason for hiding this comment

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

Removed.

@diehuxx diehuxx merged commit eac3905 into main Jun 23, 2023
@diehuxx diehuxx deleted the diehuxx/permissions-grant branch June 23, 2023 23:40
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.

2 participants