Skip to content

[DT-3848][risk=no] Add the typed search fixtures for the uncovered cases (5k/6) - #3360

Open
otchet-broad wants to merge 2 commits into
developfrom
otchet-dt-3848-coverage-fixtures
Open

otchet-broad wants to merge 2 commits into
developfrom
otchet-dt-3848-coverage-fixtures

Conversation

@otchet-broad

@otchet-broad otchet-broad commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Addresses

https://broadworkbench.atlassian.net/browse/DT-3848 (epic DT-4500)
Security risk: no — test files only; no application code or configuration changes.

Summary

Adds the remaining decision fixtures and the fixtures for the cases that a full review of DT-3848 found without one:

  • The Workspaces, Intellectual Property and Funding Resources tabs (a row filter, a date range, a range on two fields), and the option lists of the Publications tab.
  • The Q13 and Q15 decisions (typed-search-examples-open-questions.md, [DT-3848][risk=no] Record the product decisions for typed search (4/6) #3349): a DAC of another user and one that does not exist get the same 404, a study that does not exist gets 404, and a custodian sees their study in Submissions while a Researcher who is only a custodian gets 403.
  • The Q6 cases for DAC Members (a Member of the dataset's DAC on the study page, a Member of another DAC on the study page and by dataset id) and for the dataset creator on the study page grid.

This is slice 5k of 6 for DT-3848; merge after 5a (#3350) and 5h (#3357), whose asset key lists these files use.


Have you read CONTRIBUTING.md lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

🤖 Generated with Claude Code

…ses (5k/6)

Add fixtures for the Workspaces, Intellectual Property and Funding Resources tabs, the
Publications option lists, and three open-question cases: a Researcher who created only a
dataset, a custodian's dataset id lookup under Q6 B, and a DAC that does not exist under
Q13 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@otchet-broad
otchet-broad requested a review from a team as a code owner November 25, 2026 22:01
@otchet-broad
otchet-broad requested review from fboulnois and kevinmarete and a balanced review from Copilot and removed request for a team November 25, 2026 22:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Move the open-question fixtures here as decided behaviour, and add the Q6 cases for DAC
members, a member of another DAC, and the dataset creator on the study page grid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@rushtong rushtong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed with Claude and Codex, no findings 👍

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.

4 participants