Skip to content

Conversation

@AprilMay0
Copy link
Collaborator

@AprilMay0 AprilMay0 commented Dec 1, 2025

Description

GrantsForToken will retrieve all grants for a given App Token ID and Resource Types for a given scope. For this implementation, it will return an array of tempGrantTuple. This method will ultimately return an array of GrantTuple to be implemented with a refactor in ICU 17978.

Queries are still in development, so test cases for TestGrantsForToken should be expanded as new grant queries become available.

Note: Currently all queries in query.go are slightly modified copies from the llb and should not be considered when reviewing this PR. Once the sql schema is approved and merged into the llb this branch can rebase to the llb.

Important Links

RFC
Ticket

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've documented the impact of any changes to security controls.
    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant