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

Feat: Add optional filter for projects by current user #200

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

Pradip-p
Copy link
Collaborator

@Pradip-p Pradip-p commented Sep 9, 2024

Description:

This pull request introduces a new feature to optionally filter projects based on the current user.

Changes:

  • Added filter_by_owner to the read_projects endpoint to filter projects where the author_id matches the current user's ID. If filter_by_owner is set to True, the query will only return projects authored by the current user. If filter_by_owner is set to False or not provided, all projects will be returned.

@github-actions github-actions bot added enhancement New feature or request backend Related to backend code labels Sep 9, 2024
@Pradip-p Pradip-p self-assigned this Sep 9, 2024
@nrjadkry nrjadkry merged commit 4c300fc into develop Sep 9, 2024
2 checks passed
@nrjadkry nrjadkry deleted the feat/filter-projects branch September 13, 2024 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants