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

implement permissions checking #41

Closed
wants to merge 1 commit into from
Closed

Conversation

dcrousso
Copy link
Contributor

No description provided.

…previously authorized `PermissionsRequest`

in order to do this we must adjust the `/dwn` route to require a `/dwn/:did` where the `did` is the `did:key:...` used to intially connect with the agent

otherwise, we have no way of knowing who is the originator of the message, and therefore cannot look at their permissions (since the database `sessions` are keyed by this)
@dcrousso dcrousso requested a review from frankhinek April 17, 2023 22:21
@mistermoe mistermoe closed this May 30, 2023
@frankhinek frankhinek deleted the dcrousso/permissions-check branch February 17, 2024 12:28
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