Skip to content

Refactors list endpoint filtering and improves test coverage#584

Merged
djperrefort merged 15 commits into
mainfrom
mixins
Jun 10, 2025
Merged

Refactors list endpoint filtering and improves test coverage#584
djperrefort merged 15 commits into
mainfrom
mixins

Conversation

@djperrefort
Copy link
Copy Markdown
Member

Many API list endpoints filter returned records by the user's permissions/team membership. The previous implementation was copy/pasted for each view class and missing tests. This PR refines the implementation by moving the code into a common base class and adopting a simpler approach to the filtering logic. I've also gone through and added missing test coverage in various places.

@djperrefort djperrefort merged commit 447697a into main Jun 10, 2025
16 checks passed
@djperrefort djperrefort deleted the mixins branch June 10, 2025 14:53
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.

1 participant