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

[ Improvement ] Support Chained TR Queries #59

Open
andorsk opened this issue Aug 3, 2024 · 1 comment
Open

[ Improvement ] Support Chained TR Queries #59

andorsk opened this issue Aug 3, 2024 · 1 comment

Comments

@andorsk
Copy link
Contributor

andorsk commented Aug 3, 2024

First now, TRQP is a one level deep API and it would be great if we could support chaining, so a top level anchor based query can chain downstream to leafs to respond to a question.

Borrowing this topology from OIDF (below). A query from A should be able to chain down to respond to the question Does Entity X have Authorization Y, in the context of Ecosystem Governance Framework Z, when EGF Z is not managed by the provider (i.e RoR)

I have a few thoughts on how this could be done, and I will send over a PR in the future with those suggestions. For now, I am logging for future considerations.

 ----------------             -----------------
  Trust Anchor A |            |  Trust Anchor B |
'------.--.-------'            '----.--.--.------'
       |  |                         |  |  |
    .--'  '---. .-------------------'  |  |
    |         | |                      |  |
.---v.  .-----v-v------.   .-----------'  |
| OP |  | Intermediate |   |              |
'----'  '--.--.--.-----'   |    .---------v----.
           |  |  |         |    | Intermediate |
   .-------'  |  '------.  |    '---.--.--.----'
   |          |         |  |        |  |  |
.--v-.      .-v--.     .v--v.   .---'  |  '----.
| RP |      | RS |     | OP |   |      |       |
'----'      '----'     '----'   |   .--v-.   .-v--.
                                |   | RP |   | RP |
                                |   '----'   '----'
                                |
                        .-------v------.
                        | Intermediate |
                        '----.--.--.---'
                             |  |  |
                       .-----'  |  '----.
                       |        |       |
                    .--v-.   .--v-.   .-v--.
                    | OP |   | RP |   | AS |
@andorsk
Copy link
Contributor Author

andorsk commented Nov 28, 2024

We are looking into this in conjunction with the common data model and base interaction patterns.

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

No branches or pull requests

1 participant