Skip to content

fix(auth): Validate uuid params in admin methods #1171

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

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

Conversation

grdsdev
Copy link
Contributor

@grdsdev grdsdev commented May 12, 2025

What kind of change does this PR introduce?

Fix #1170

What is the current behavior?

Admin methods currently accept ids of any format

What is the new behavior?

Admin methods now validates if id is a uuid

Additional context

Add any other context or screenshots.

@grdsdev grdsdev requested a review from dshukertjr May 15, 2025 15:21
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15049057589

Details

  • 11 of 11 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 75.399%

Totals Coverage Status
Change from base Build 14868379526: 0.07%
Covered Lines: 2881
Relevant Lines: 3821

💛 - Coveralls

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.

[auth] validate uuid when calling admin functions
2 participants