Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-7291] Update Contributor filter to filter on permissions #10997

Open
wants to merge 3 commits into
base: feature/b-and-i-25-01
Choose a base branch
from

Conversation

Ostap-Zherebetskyi
Copy link
Contributor

@Ostap-Zherebetskyi Ostap-Zherebetskyi commented Feb 24, 2025

Purpose

Update Contributor filter to filter on permissions

Changes

Added filter operator 'exact' for node contributor filtering
Added tests for exact permission filtering in contributor list

QA Notes

N/A

Documentation

N/A

Side Effects

N/A

Ticket

https://openscience.atlassian.net/browse/ENG-7291

@Ostap-Zherebetskyi Ostap-Zherebetskyi marked this pull request as ready for review February 24, 2025 18:17
Copy link
Contributor

@Johnetordoff Johnetordoff left a comment

Choose a reason for hiding this comment

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

This is good work, but I would request we make some additional changes to break up the test_filtering method into more individual test cases. I think what you have written already is good I'm just noticing that this method very long test_filtering method makes it hard to evaluate. So just a minor request to split test_filtering into test_filtering_permission_field_admin, test_filtering_permission_field_write etc. Thanks.

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