Skip to content

fix(auth): convites pendentes só para owner e admin (auditoria COMP-012) - #65

Merged
vinicius3w merged 1 commit into
developfrom
fix/hide-pending-invitations
Oct 9, 2026
Merged

vinicius3w merged 1 commit into
developfrom
fix/hide-pending-invitations

Conversation

@vinicius3w

Copy link
Copy Markdown
Contributor

Decisão do ADR-036 (COMP-012, opção 2).

  • hook before bloqueia list-invitations e get-full-organization para quem não é owner/admin
  • menu da conta deixa de usar useActiveOrganization
  • list-members segue aberto a membros

Migração: nenhuma.

https://claude.ai/code/session_01VDxbrneS3TEAUmdgVmkKpQ

- hook before bloqueia /organization/list-invitations e /organization/get-full-organization para quem nao e owner/admin
  (get-full-organization devolve os convites embutidos)
- menu da conta deixa de usar useActiveOrganization e le o nome do workspace da lista de organizacoes
- list-members segue aberto a membros (decisao registrada no ADR-036)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDxbrneS3TEAUmdgVmkKpQ
@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
compasso Ready Ready Preview Oct 9, 2026 11:33pm UTC

@vinicius3w
vinicius3w merged commit 0203a5b into develop Oct 9, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 3e266dff Deployed Oct 9, 2026 by vercel[bot]
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