Skip to content

User dropdowns should only show active users#949

Merged
labkey-martyp merged 1 commit intorelease25.3-SNAPSHOTfrom
25.3_fb_active_users_selection
May 13, 2025
Merged

User dropdowns should only show active users#949
labkey-martyp merged 1 commit intorelease25.3-SNAPSHOTfrom
25.3_fb_active_users_selection

Conversation

@labkey-martyp
Copy link
Contributor

@labkey-martyp labkey-martyp commented May 1, 2025

Rationale

All assignment dropdowns are showing inactive users along with active users. I'm not aware of any cases that a review, task, request, etc would be assigned to an inactive user.

This does not affect historical data.

Changes

  • Add user active status to PrincipalsWithoutAdmin
  • Update UsersAndGroupsCombo filter

@labkey-jeckels
Copy link
Contributor

@labkey-martyp will this work in practice, given your question about the permissions needed to see/use the `Active field?

@labkey-martyp
Copy link
Contributor Author

This does not work as-is. Working on a refactor.

@labkey-martyp
Copy link
Contributor Author

labkey-martyp commented May 12, 2025

This PR now works

@labkey-martyp labkey-martyp reopened this May 12, 2025
Copy link
Contributor

@labkey-bpatel labkey-bpatel left a comment

Choose a reason for hiding this comment

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

Verified that the 'PrincipalsWithoutAdmin' query is accessible for the non-admins, which ensures that the Active users filter works as intended during data entry.

@labkey-martyp labkey-martyp merged commit 2134a34 into release25.3-SNAPSHOT May 13, 2025
6 checks passed
@labkey-martyp labkey-martyp deleted the 25.3_fb_active_users_selection branch May 13, 2025 22:35
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.

3 participants