Skip to content

security: bind tenantId and decidedBy to authenticated identity #28

Description

@SafetyMP

Summary

tenantId and decidedBy are client-supplied with no identity binding on approval API.

Source

Phase 5 review (REV-010b) — #27 added bearer auth but not identity binding.

Acceptance criteria

  • Server derives tenant/decider from token or session, not request body
  • Cross-tenant approval attempts rejected
  • API contract + tests updated

Priority

P1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions