Skip to content

Fix AdminGuard principal property reference - #980

Closed
busola11633 wants to merge 1 commit into
DigiNodes:mainfrom
busola11633:fix/admin-guard-principal
Closed

busola11633 wants to merge 1 commit into
DigiNodes:mainfrom
busola11633:fix/admin-guard-principal

Conversation

@busola11633

Copy link
Copy Markdown

Read the verified passport principal from request.user instead of request.use.

Linked task

Closes:
Head SHA reviewed: <!-- full SHA -->

Summary

Scope and assignment

  • The linked issue has the exact Stellar Wave label.
  • The PR author is assigned or explicitly approved by a maintainer.
  • This PR resolves one task and all dependencies are safely completed.

Architecture and security

  • Contracts/finalized events remain authoritative for protocol state.
  • No backend-authoritative claim, vote, dispute, settlement, reward, treasury, or governance mutation was added.
  • TypeORM/PostgreSQL remains the only persistence architecture; Prisma was not introduced.
  • Reorg, duplicate delivery, retry, finality, stale-cache, and degraded-dependency behavior is fail-closed.
  • SIWE/authentication, authorization, validation, redaction, and rate-limit impact was reviewed.
  • No Stellar/Soroban/Freighter runtime, secret, placeholder production value, or production mock is included.

Validation

  • Lint, typecheck, and build pass.
  • Unit and PostgreSQL integration tests pass.
  • Migrations and rollback validation pass.
  • Indexer/reorg and protocol-invariant tests pass.
  • Security, container, and artifact-drift checks pass.
  • Required human CODEOWNER approval applies to this exact head SHA.

Read the verified passport principal from request.user instead of request.use.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

1 participant