Skip to content

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

Merged
grdsdev merged 2 commits into
mainfrom
guilherme/clibs-171-supabase-flutter-validate-uuid-on-admin-methods
May 20, 2025
Merged

fix(auth): Validate uuid params in admin methods#1171
grdsdev merged 2 commits into
mainfrom
guilherme/clibs-171-supabase-flutter-validate-uuid-on-admin-methods

Conversation

@grdsdev

@grdsdev grdsdev commented May 12, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

@grdsdev grdsdev requested a review from Vinzent03 May 19, 2025 12:26
@grdsdev grdsdev merged commit 369dcc2 into main May 20, 2025
16 checks passed
@grdsdev grdsdev deleted the guilherme/clibs-171-supabase-flutter-validate-uuid-on-admin-methods branch May 20, 2025 08:32
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

3 participants