Give Troubleshooters the ability to see attachment counts and details#7386
Merged
labkey-adam merged 2 commits intodevelopfrom Feb 5, 2026
Merged
Give Troubleshooters the ability to see attachment counts and details#7386labkey-adam merged 2 commits intodevelopfrom
labkey-adam merged 2 commits intodevelopfrom
Conversation
Contributor
Author
|
AttachmentsTest passed on this FB: https://teamcity.labkey.org/buildConfiguration/bt20/3834396 |
Member
|
Do we want to apply this to 26.2? |
Contributor
Author
Sure, assuming I get approval for this develop PR, I'll backport to 26.2 |
DariaBod
approved these changes
Feb 4, 2026
labkey-jeckels
approved these changes
Feb 5, 2026
labkey-adam
added a commit
that referenced
this pull request
Feb 5, 2026
labkey-adam
added a commit
that referenced
this pull request
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
We want Troubleshooters (and Impersonating Troubleshooters) to be able to view attachment details and counts by parent type. The related PR granted these roles read permission in the root but removed read as a contextual role. That means they can view the query in root and now interact with grid actions, but they only have permission to see the attachments in the root. This PR restores the contextual role so they can view server-wide attachment counts by parent type, attachment files names, sizes, etc. using the custom actions. They can't inspect attachment contents, however.
AttachmentsTest started failing after the related PR was merged; we'll rely on that test passing to show that it's working again.
Related Pull Requests
Tasks