Skip to content

fix: prevent admin role self-assignment on register - #11601

Open
samuelpatak-png wants to merge 1 commit into
SecureBananaLabs:mainfrom
samuelpatak-png:fix/11591-no-admin-register
Open

fix: prevent admin role self-assignment on register#11601
samuelpatak-png wants to merge 1 commit into
SecureBananaLabs:mainfrom
samuelpatak-png:fix/11591-no-admin-register

Conversation

@samuelpatak-png

Copy link
Copy Markdown

Summary

Registration schema only allows client/freelancer roles.

Test plan

  • Focused regression tests added
  • npm test ×3 green in apps/api

Closes #11591

Made with Cursor

Closes SecureBananaLabs#11591

Co-authored-by: Cursor <cursoragent@cursor.com>
github-actions Bot added a commit that referenced this pull request Aug 3, 2026
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.

Bug: prevent admin role self-assignment during registration

2 participants