FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

JCL-367: Distinguish between creator and recipient in access credential queries by acoburn · Pull Request #505 · inrupt/solid-client-java · GitHub

Repository navigation

JCL-367: Distinguish between creator and recipient in access credential queries - #505

Merged
acoburn merged 3 commits into
mainfrom
JCL-367-query-params
Jun 2, 2023
Merged

acoburn merged 3 commits into
mainfrom
JCL-367-query-params

Conversation

acoburn commented Jun 1, 2023 •
edited
Loading

Copy link
Copy Markdown
Contributor

At present, the AccessGrantClient.query() method has an agent parameter, which refers to the recipient of an access credential, but there is no way to query based on creator. This PR introduces an additional parameter so that one can query for creator and/or recipient.

Note: this also moves the resource URI to the first position in the new ::query API (to be introduced in Beta3), as this property is anticipated to be null less often.

acoburn requested a review from a team June 1, 2023 16:22

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Tests referencing the notion of Agent (e.g. testQueryGrantAgent) could be renamed to the appropriate role, i.e. Recipient or Creator.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

That's a very good idea. I'll create a ticket to make that adjustment in the tests

acoburn merged commit a745872 into main Jun 2, 2023
acoburn deleted the JCL-367-query-params branch June 2, 2023 11:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL