Skip to content

Kanban Issue 1924: Additional container scoping updates#7753

Merged
labkey-susanh merged 3 commits into
release25.7-SNAPSHOTfrom
25.7_fb_kb1924
Jun 16, 2026
Merged

Kanban Issue 1924: Additional container scoping updates#7753
labkey-susanh merged 3 commits into
release25.7-SNAPSHOTfrom
25.7_fb_kb1924

Conversation

@labkey-susanh

@labkey-susanh labkey-susanh commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Rationale

Small refactors to help introduce better container scoping checks

Related PRs

Changes

  • Update OntologyManager.findPropertyUsages when given ids to match the behavior when given URIs (that is, to exclude the descriptors not from the given container)
  • Updates container checks in
    • AssayController::GetQCStateAction
    • CoreController::DownloadFileLinkAction
    • CoreController::GetContainerInfoAction
    • ExperimentController::CreateHiddenRunGroupAction
    • ExperimentController::GetEntitySequenceAction
    • PropertyController::PropertyUsagesAction

@labkey-susanh labkey-susanh changed the title Additional container scoping updates Kanban Issue 1924: Additional container scoping updates Jun 16, 2026
if (provider == null)
throw new NotFoundException("No provider found for protocol " + form.getProtocolId());
// Kanban #1924: Assure permission in the protocol's container, which may be different than the current container
if (!protocol.getContainer().hasPermission(getUser(), ReadPermission.class))

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.

Consider checking for these permissions prior to resolving the assay provider.

@labkey-susanh labkey-susanh merged commit 1d6b99a into release25.7-SNAPSHOT Jun 16, 2026
7 checks passed
@labkey-susanh labkey-susanh deleted the 25.7_fb_kb1924 branch June 16, 2026 22: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.

2 participants