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

fix(policy): GetAttributeValuesByFqns and MatchSubjectMappings should not return deactivated policy objects #813

Merged
merged 11 commits into from
May 15, 2024

Conversation

jakedoublev
Copy link
Contributor

@jakedoublev jakedoublev commented May 14, 2024

GetAttributeValuesByFqns and MatchSubjectMappings APIs on Policy services that support authorization/entitlement now filter out any results with a deactivated namespace, definition, or value of the attribute.

Resolves #494

@jakedoublev jakedoublev marked this pull request as ready for review May 15, 2024 17:04
@jakedoublev jakedoublev requested review from a team as code owners May 15, 2024 17:04
@jakedoublev jakedoublev changed the title fix(policy): GetAttributeValuesByFqns should not return deactivated policy objects fix(policy): GetAttributeValuesByFqns and MatchSubjectMappings should not return deactivated policy objects May 15, 2024
@dmihalcik-virtru dmihalcik-virtru added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@dmihalcik-virtru dmihalcik-virtru added this pull request to the merge queue May 15, 2024
Merged via the queue into main with commit 41ca82d May 15, 2024
16 checks passed
@dmihalcik-virtru dmihalcik-virtru deleted the fix/deactivated-fqns branch May 15, 2024 19:44
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>
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.

Policy API: service to service RPCs like GetAttributeValuesByFqns should omit deactivated policy objects
3 participants