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

[RHCLOUD-37288] add the 'user' as default value for the 'type' query parameter and 'GET /principals/' #1503

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

petracihalova
Copy link
Contributor

@petracihalova petracihalova commented Feb 10, 2025

RHCLOUD-37288

existing behavior will not be changed

  • GET /principals/= the default value user for query param 'type' is used = only user based principals listed in the response
  • GET /principals/?type=user = only user based principals listed in the response
  • GET /principals/?type=service-account = only service account based principals listed in the response

this PR only adds the default value for the type query param validation ... I need this in the next PR that will introduce the all value

@lpichler lpichler merged commit ca5763f into RedHatInsights:master Feb 11, 2025
12 checks passed
@petracihalova petracihalova deleted the default_type branch February 11, 2025 08:57
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