Skip to content

Deprecate R report sharing#7475

Open
labkey-klum wants to merge 2 commits intodevelopfrom
fb_deprecate_r_report_sharing
Open

Deprecate R report sharing#7475
labkey-klum wants to merge 2 commits intodevelopfrom
fb_deprecate_r_report_sharing

Conversation

@labkey-klum
Copy link
Contributor

Rationale

Puts the R report sharing UI under a deprecated feature flag. We'll plan to remove this feature in 26.7.

@labkey-klum labkey-klum self-assigned this Mar 5, 2026
@labkey-klum labkey-klum requested a review from a team March 5, 2026 21:23
Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

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

This type of sharing sends via an email and doesn't mark it as shared in the DB, correct?

import java.util.function.Supplier;

import static org.labkey.api.query.QueryService.USE_ROW_BY_ROW_UPDATE;
import static org.labkey.query.reports.ReportServiceImpl.R_REPORT_CUSTOM_SHARING;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest importing via ReportService instead of ReportServiceImpl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's weird it grabbed that import, Done.


OptionalFeatureService.get().addFeatureFlag(new OptionalFeatureFlag(R_REPORT_CUSTOM_SHARING,
"Restore custom R report sharing",
"Allows R reports to be shared on a per user basis. This option will be removed in LabKey Server 26.7.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this PR target 26.3 instead? If it goes to develop, it'll hit in 26.4 and ESR customers won't get any warning before its removal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought I had asked that question in standup and the response was 26.4, but you're right. I'll retarget this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Targeting 26.4 would likely be fine, but if that's where it first ships we should remove in 26.11 instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given that it's a fairly trivial change seems fine to go to 26.3.

@labkey-klum
Copy link
Contributor Author

This type of sharing sends via an email and doesn't mark it as shared in the DB, correct?

Correct, reports sharing status stays the same.

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