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

Fix authenticated prefix queries #191

Merged
merged 1 commit into from
Jul 22, 2022
Merged

Conversation

cap10morgan
Copy link
Contributor

@cap10morgan cap10morgan commented Jul 22, 2022

...by adding the original unresolved auth tuple to the db permissions under an :auth-id key. The pre-existing :auth key contains the resolved subject id (:_id) of the auth, which isn't appropriate for querying the other ledger(s) the prefix(es) are referencing.

...by adding the original unresolved auth tuple to the db permissions under an :auth-id key. The pre-existing :auth key contains the resolved subject id (:_id) of the auth, which isn't appropriate for querying the other ledger(s) the prefix are referencing.
@cap10morgan cap10morgan requested a review from a team July 22, 2022 19:26
Copy link
Contributor

@bplatz bplatz left a comment

Choose a reason for hiding this comment

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

LGTM

@cap10morgan cap10morgan merged commit 2af09ef into main Jul 22, 2022
@cap10morgan cap10morgan deleted the fix/auth-prefix-queries branch July 22, 2022 20:34
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