feat(authz): Handle jwts as entity chains in decision requests - #759
Merged
Conversation
elizabethhealy
commented
May 10, 2024
elizabethhealy
commented
May 13, 2024
elizabethhealy
marked this pull request as ready for review
May 13, 2024 14:25
pflynn-virtru
previously approved these changes
May 13, 2024
This was referenced May 13, 2024
Member
Author
|
#790 -- follow up with detailed e2e testing |
jakedoublev
reviewed
May 16, 2024
jakedoublev
previously approved these changes
May 16, 2024
jakedoublev
left a comment
Contributor
There was a problem hiding this comment.
I'm not a Codeowner so it both needs and should get a further review, but this LGTM per the ADR outcome.
strantalis
approved these changes
May 17, 2024
Member
Author
|
TODO: followup with additional integration testing for token exchange flows |
This was referenced May 17, 2024
| } | ||
| } | ||
| val, ok = srp.Config.ExtraProps["clientSecert"] | ||
| val, ok = srp.Config.ExtraProps["clientsecert"] |
Member
There was a problem hiding this comment.
Should this be clientSecret or clientSecert?
github-merge-queue Bot
pushed a commit
that referenced
this pull request
May 20, 2024
🤖 I have created a release *beep* *boop* --- ## [0.2.3](protocol/go/v0.2.2...protocol/go/v0.2.3) (2024-05-17) ### Features * **authz:** Handle jwts as entity chains in decision requests ([#759](#759)) ([65612e0](65612e0)) ### Bug Fixes * **policy:** make resource-mappings update patch instead of put in RESTful gateway ([#824](#824)) ([1878bb5](1878bb5)), closes [#313](#313) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
May 21, 2024
🤖 I have created a release *beep* *boop* --- ## [0.2.3](sdk/v0.2.2...sdk/v0.2.3) (2024-05-21) ### Features * **authz:** Handle jwts as entity chains in decision requests ([#759](#759)) ([65612e0](65612e0)) * **sdk:** Allow setting TDF mime type ([#797](#797)) ([97926a1](97926a1)) ### Bug Fixes * bump internal versions ([#840](#840)) ([8f45f18](8f45f18)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
May 22, 2024
🤖 I have created a release *beep* *boop* --- ## [0.4.3](service/v0.4.2...service/v0.4.3) (2024-05-22) ### Features * **authz:** Allow un-scoped GetEntitlements calls ([#833](#833)) ([9146947](9146947)) * **authz:** Handle jwts as entity chains in decision requests ([#759](#759)) ([65612e0](65612e0)) * **ci:** Add e2e roundtrip tests for different attribute combinations ([#790](#790)) ([1b0ec23](1b0ec23)) * **core:** Adds opentdf.hsm build constraint ([#830](#830)) ([e13e52a](e13e52a)) * **core:** audit logging ([#774](#774)) ([ea58b3c](ea58b3c)) ### Bug Fixes * **authz:** Populate fqn field in attribute values returned from GetAttributeValuesByFqns ([#816](#816)) ([0ac8390](0ac8390)) * **authz:** Typo in client secret config ([#835](#835)) ([7cad1f1](7cad1f1)) * bump internal versions ([#840](#840)) ([8f45f18](8f45f18)) * **core:** bump sdk deps to 0.2.3 ([#848](#848)) ([ca8b9f7](ca8b9f7)) * **policy:** fix policy fqn-reindex command schema suffix ([#818](#818)) ([aff9850](aff9850)), closes [#817](#817) * **policy:** GetAttributeValuesByFqns and MatchSubjectMappings should not return deactivated policy objects ([#813](#813)) ([41ca82d](41ca82d)), closes [#494](#494) * **policy:** make resource-mappings update patch instead of put in RESTful gateway ([#824](#824)) ([1878bb5](1878bb5)), closes [#313](#313) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
tech-guru42
added a commit
to tech-guru42/TDF
that referenced
this pull request
Jun 3, 2024
🤖 I have created a release *beep* *boop* --- ## [0.2.3](opentdf/platform@protocol/go/v0.2.2...protocol/go/v0.2.3) (2024-05-17) ### Features * **authz:** Handle jwts as entity chains in decision requests ([#759](opentdf/platform#759)) ([65612e0](opentdf/platform@65612e0)) ### Bug Fixes * **policy:** make resource-mappings update patch instead of put in RESTful gateway ([#824](opentdf/platform#824)) ([1878bb5](opentdf/platform@1878bb5)), closes [#313](opentdf/platform#313) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
tech-guru42
added a commit
to tech-guru42/TDF
that referenced
this pull request
Jun 3, 2024
🤖 I have created a release *beep* *boop* --- ## [0.2.3](opentdf/platform@sdk/v0.2.2...sdk/v0.2.3) (2024-05-21) ### Features * **authz:** Handle jwts as entity chains in decision requests ([#759](opentdf/platform#759)) ([65612e0](opentdf/platform@65612e0)) * **sdk:** Allow setting TDF mime type ([#797](opentdf/platform#797)) ([97926a1](opentdf/platform@97926a1)) ### Bug Fixes * bump internal versions ([#840](opentdf/platform#840)) ([8f45f18](opentdf/platform@8f45f18)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
tech-guru42
added a commit
to tech-guru42/TDF
that referenced
this pull request
Jun 3, 2024
🤖 I have created a release *beep* *boop* --- ## [0.4.3](opentdf/platform@service/v0.4.2...service/v0.4.3) (2024-05-22) ### Features * **authz:** Allow un-scoped GetEntitlements calls ([#833](opentdf/platform#833)) ([9146947](opentdf/platform@9146947)) * **authz:** Handle jwts as entity chains in decision requests ([#759](opentdf/platform#759)) ([65612e0](opentdf/platform@65612e0)) * **ci:** Add e2e roundtrip tests for different attribute combinations ([#790](opentdf/platform#790)) ([1b0ec23](opentdf/platform@1b0ec23)) * **core:** Adds opentdf.hsm build constraint ([#830](opentdf/platform#830)) ([e13e52a](opentdf/platform@e13e52a)) * **core:** audit logging ([#774](opentdf/platform#774)) ([ea58b3c](opentdf/platform@ea58b3c)) ### Bug Fixes * **authz:** Populate fqn field in attribute values returned from GetAttributeValuesByFqns ([#816](opentdf/platform#816)) ([0ac8390](opentdf/platform@0ac8390)) * **authz:** Typo in client secret config ([#835](opentdf/platform#835)) ([7cad1f1](opentdf/platform@7cad1f1)) * bump internal versions ([#840](opentdf/platform#840)) ([8f45f18](opentdf/platform@8f45f18)) * **core:** bump sdk deps to 0.2.3 ([#848](opentdf/platform#848)) ([ca8b9f7](opentdf/platform@ca8b9f7)) * **policy:** fix policy fqn-reindex command schema suffix ([#818](opentdf/platform#818)) ([aff9850](opentdf/platform@aff9850)), closes [#817](opentdf/platform#817) * **policy:** GetAttributeValuesByFqns and MatchSubjectMappings should not return deactivated policy objects ([#813](opentdf/platform#813)) ([41ca82d](opentdf/platform@41ca82d)), closes [#494](opentdf/platform#494) * **policy:** make resource-mappings update patch instead of put in RESTful gateway ([#824](opentdf/platform#824)) ([1878bb5](opentdf/platform@1878bb5)), closes [#313](opentdf/platform#313) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
passion-127
added a commit
to passion-127/TDF
that referenced
this pull request
Jun 6, 2024
🤖 I have created a release *beep* *boop* --- ## [0.2.3](opentdf/platform@protocol/go/v0.2.2...protocol/go/v0.2.3) (2024-05-17) ### Features * **authz:** Handle jwts as entity chains in decision requests ([#759](opentdf/platform#759)) ([65612e0](opentdf/platform@65612e0)) ### Bug Fixes * **policy:** make resource-mappings update patch instead of put in RESTful gateway ([#824](opentdf/platform#824)) ([1878bb5](opentdf/platform@1878bb5)), closes [#313](opentdf/platform#313) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
passion-127
added a commit
to passion-127/TDF
that referenced
this pull request
Jun 6, 2024
🤖 I have created a release *beep* *boop* --- ## [0.2.3](opentdf/platform@sdk/v0.2.2...sdk/v0.2.3) (2024-05-21) ### Features * **authz:** Handle jwts as entity chains in decision requests ([#759](opentdf/platform#759)) ([65612e0](opentdf/platform@65612e0)) * **sdk:** Allow setting TDF mime type ([#797](opentdf/platform#797)) ([97926a1](opentdf/platform@97926a1)) ### Bug Fixes * bump internal versions ([#840](opentdf/platform#840)) ([8f45f18](opentdf/platform@8f45f18)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
passion-127
added a commit
to passion-127/TDF
that referenced
this pull request
Jun 6, 2024
🤖 I have created a release *beep* *boop* --- ## [0.4.3](opentdf/platform@service/v0.4.2...service/v0.4.3) (2024-05-22) ### Features * **authz:** Allow un-scoped GetEntitlements calls ([#833](opentdf/platform#833)) ([9146947](opentdf/platform@9146947)) * **authz:** Handle jwts as entity chains in decision requests ([#759](opentdf/platform#759)) ([65612e0](opentdf/platform@65612e0)) * **ci:** Add e2e roundtrip tests for different attribute combinations ([#790](opentdf/platform#790)) ([1b0ec23](opentdf/platform@1b0ec23)) * **core:** Adds opentdf.hsm build constraint ([#830](opentdf/platform#830)) ([e13e52a](opentdf/platform@e13e52a)) * **core:** audit logging ([#774](opentdf/platform#774)) ([ea58b3c](opentdf/platform@ea58b3c)) ### Bug Fixes * **authz:** Populate fqn field in attribute values returned from GetAttributeValuesByFqns ([#816](opentdf/platform#816)) ([0ac8390](opentdf/platform@0ac8390)) * **authz:** Typo in client secret config ([#835](opentdf/platform#835)) ([7cad1f1](opentdf/platform@7cad1f1)) * bump internal versions ([#840](opentdf/platform#840)) ([8f45f18](opentdf/platform@8f45f18)) * **core:** bump sdk deps to 0.2.3 ([#848](opentdf/platform#848)) ([ca8b9f7](opentdf/platform@ca8b9f7)) * **policy:** fix policy fqn-reindex command schema suffix ([#818](opentdf/platform#818)) ([aff9850](opentdf/platform@aff9850)), closes [#817](opentdf/platform#817) * **policy:** GetAttributeValuesByFqns and MatchSubjectMappings should not return deactivated policy objects ([#813](opentdf/platform#813)) ([41ca82d](opentdf/platform@41ca82d)), closes [#494](opentdf/platform#494) * **policy:** make resource-mappings update patch instead of put in RESTful gateway ([#824](opentdf/platform#824)) ([1878bb5](opentdf/platform@1878bb5)), closes [#313](opentdf/platform#313) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
alkalescent
pushed a commit
that referenced
this pull request
Mar 26, 2026
Ensure unsafely updating the order of attribute values on a definition is properly reflected in the table output
alkalescent
pushed a commit
that referenced
this pull request
Apr 6, 2026
🤖 I have created a release *beep* *boop* --- ## [0.30.0](opentdf/otdfctl@v0.29.0...v0.30.0) (2026-03-31) ### Features * **core:** Add optional namespace flag for subject mappings and condtion sets ([#779](opentdf/otdfctl#779)) ([9e849c4](opentdf/otdfctl@9e849c4)) * **core:** add scope support for client creds ([#752](opentdf/otdfctl#752)) ([9ca9e43](opentdf/otdfctl@9ca9e43)) * **core:** migrate registered resources ([#772](opentdf/otdfctl#772)) ([2b49a7d](opentdf/otdfctl@2b49a7d)) * **core:** optional namespace in actions commands and re-enable actions/RR tests ([#775](opentdf/otdfctl#775)) ([29a2eb1](opentdf/otdfctl@29a2eb1)) * **core:** support namespaced registered resources ([#767](opentdf/otdfctl#767)) ([4d786b5](opentdf/otdfctl@4d786b5)) ### Bug Fixes * **ci:** Temporarily skip namespaced-actions impacted BATS cases ([#773](opentdf/otdfctl#773)) ([633728a](opentdf/otdfctl@633728a)) * **core:** bump toolchain to go 1.24.13 ([#747](opentdf/otdfctl#747)) ([6804b93](opentdf/otdfctl@6804b93)) * **core:** disable RR E2E tests ([#768](opentdf/otdfctl#768)) ([0821b8c](opentdf/otdfctl@0821b8c)) * **core:** make namespacing registered resources optional ([#785](opentdf/otdfctl#785)) ([8e6eb31](opentdf/otdfctl@8e6eb31)) * **core:** refactor `ListAttributesValues` to use `Get` ([#769](opentdf/otdfctl#769)) ([a82f7b7](opentdf/otdfctl@a82f7b7)) * **core:** unsafe update result output values order ([#759](opentdf/otdfctl#759)) ([baeba0f](opentdf/otdfctl@baeba0f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #749