Skip to content

feat(access-rules): support nested and multi-valued token claims - #102

Open
Martin187187 wants to merge 1 commit into
admin-shell-io:IDTA-01004-3-2_Workingfrom
Martin187187:multivalue-nested-claims
Open

Martin187187 wants to merge 1 commit into
admin-shell-io:IDTA-01004-3-2_Workingfrom
Martin187187:multivalue-nested-claims

Conversation

@Martin187187

@Martin187187 Martin187187 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR adds support for nested and multi-valued access-token claims.

Changes

  • Adds CLAIMPATH, using RFC 6901 JSON Pointer syntax to select nested values from a verified JWT Claims Set.
  • Supports direct scalar-string equality and exact string-array membership with $contains.
  • Adds strict casts for using scalar claim values in typed formula operations.
  • Defines fail-closed behavior for missing paths, incompatible JSON types, and invalid casts.
  • Aligns the BNF grammar, JSON Schemas, diagrams, examples, and artifact validation tooling.
  • Adds matching BNF and JSON examples for nested role claims.

Validation

  • python tools/validate_spec_artifacts.py
  • python -m unittest discover -s tests/query

Closes #55

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

QDJVMC found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@Martin187187 Martin187187 changed the title init feat(access-rules): support nested and multi-valued token claims Sep 3, 2026
@Martin187187
Martin187187 marked this pull request as ready for review September 3, 2026 09:23
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