Skip to content

Backporting "Samples grid insights panel load in background" - #8018

Merged
XingY merged 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_dashboardInsight
Sep 4, 2026
Merged

Backporting "Samples grid insights panel load in background"#8018
XingY merged 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_dashboardInsight

Conversation

@XingY

@XingY XingY commented Sep 3, 2026

Copy link
Copy Markdown
Contributor


try
{
Set<Class<? extends Permission>> read = Collections.singleton(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.

nit: Consider streaming to an unmodifiable list.

List<Integer> userIds = SecurityManager.getUsersWithPermissions(container, Set.of(ReadPermission.class))
        .stream()
        .map(UserPrincipal::getUserId)
        .toList();

@XingY
XingY merged commit 3e81bd7 into release26.7-SNAPSHOT Sep 4, 2026
15 of 16 checks passed
@XingY
XingY deleted the 26.7_fb_dashboardInsight branch September 4, 2026 21:18
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