Skip to content

Comments

preview-team-remove-bundle#124

Open
andre-urbani wants to merge 2 commits intodevelopfrom
feature/preview-team-removal-bundle
Open

preview-team-remove-bundle#124
andre-urbani wants to merge 2 commits intodevelopfrom
feature/preview-team-removal-bundle

Conversation

@andre-urbani
Copy link
Contributor

What

Updated so that when a preview team is removed from a bundle, dataset information is removed from the condition on the permissions policy
Jira - https://officefornationalstatistics.atlassian.net/browse/DIS-4533

How to review

To test locally, run the local stack and for acceptance criteria 1 and 2 -

Create a bundle with a preview team
Add a content item (dataset/edition) to the bundle
Confirm that the policy has the correct values ["dataset-id", "dataset-id/edition-id"]
Remove the preview team from the bundle
Confirm that the policy values field is now null

For acceptance criteria 3 -

Create two bundles both with the same preview team
Add different editions of the same dataset to each bundle (for example dataset-id/edition-1 in bundle 1, dataset-id/edition-2 in bundle 2)
Confirm that policy has ["dataset-id", "dataset-id/edition-1", "dataset-id/edition-2"]
Remove the team from bundle 1
Confirm that policy now has ["dataset-id", "dataset-id/edition-2"] (edition-1 removed, dataset-id is still there)

Changes make sense, tests pass

Who can review

Anyone

@andre-urbani andre-urbani requested a review from a team as a code owner February 24, 2026 14:30
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.

1 participant