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

Use search and order params in keystone utility functions #275

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Comeani
Copy link
Contributor

@Comeani Comeani commented Dec 12, 2024

This PR makes the wrappers leverage the search and order params introduced in Better-HPC/keystone-python-client#65

@Comeani Comeani requested a review from djperrefort December 12, 2024 18:15
Copy link
Member

@djperrefort djperrefort left a comment

Choose a reason for hiding this comment

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

Using search to filter requests by the team name is clever. I hadn't thought to mix the search and filter functionality in that way.

I'm a little concerned a user may inadvertently be returned requests from a different account than the one specified. The search includes things like the request title and description, so what happens if an account name is mentioned in one of these fields by a different team? I doubt this would be intentional, but it could happen if an account has a common name (e.g., smith) and the other team's description references a publication by the author. This is just a silly example to clarify a point.

General users wouldn't be effected much since they would have to be a member of the other accounts. However, this becomes more problematic for admins.

Interested to hear your thoughts.

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