[AI] OSAC-4127: List DAO tenancy filter bypassed by top-level OR in user filter (cross-tenant resolution by name) - #368
Conversation
|
AI Session Costs
|
|
@osac-jira-ai-issue-solver[bot]: This pull request references OSAC-4127 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
🤖 Finished Review · ✅ Success · Started 4:42 PM UTC · Completed 4:55 PM UTC Commit: |
|
Looks good to me Previous runLooks good to me Previous run (2)ReviewFindingsLow
Labels: PR fixes a tenant isolation bypass (security bug) in the fulfillment-service DAO layer |
|
In comment, @fullsend-ai-review[bot] said:
Automated bot status notification — no action needed. Addressed in 63e1906. |
|
In comment, @fullsend-ai-review[bot] said:
Review summary comment — findings addressed via the line-level comment above. Addressed in 63e1906. |
|
🤖 Finished Review · ✅ Success · Started 5:02 PM UTC · Completed 5:15 PM UTC Commit: |
|
In comment, @fullsend-ai-review[bot] said:
I was unable to produce code changes to address this comment after multiple attempts. |
|
@osac-jira-ai-issue-solver monitor this PR and rebase on main when it's merged, that will fix CI failures: #367 |
|
@osac-jira-ai-issue-solver rebase on main |
|
/fs-fix rebase on main to fix unit tests |
…ilter (cross-tenant resolution by name) Co-authored-by: Marc Sluiter <msluiter@redhat.com>
Co-authored-by: Marc Sluiter <msluiter@redhat.com>
63e1906 to
baf1061
Compare
|
rebased myself 🤷🏼♂️ |
|
🤖 Finished Review · ✅ Success · Started 6:42 PM UTC · Completed 6:56 PM UTC Commit: |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: omer-vishlitzky, osac-jira-ai-issue-solver[bot], slintes The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
46e8a83
Resolves OSAC-4127
Summary
this.id == k || this.metadata.name == k)Test plan
go build ./internal/database/dao/...compiles successfullygo vet ./internal/database/dao/...passesgolangci-lint run ./internal/database/dao/...reports 0 issuesgofmt -sproduces no changesginkgo run -r internal— requires PostgreSQL container (CI will run this)Fixes: OSAC-4127