Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[FR] Members management improvements (API/deactivation)

Aberta
#516 0 comentários 3 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
typescript

Direção de pesquisa

No files, tests, or entry points are identified in the issue. Start by getting a maintainer decision on whether the scope is the admin API, activity-based management, or both; the work is ready to begin once the selected behavior and acceptance criteria are defined.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Feature

Hey 👋

Context

We use Sourcebot EE, with a SSO login.

However, as SCIM is not available, old organization members are not deleted automatically, which may lead to security issues (they may not be able to log-in, but API key might still be active), as well as taking up seats for Sourcebot EE.

Deleting members must currently be done manually or through the DB directly.

Suggestion

As implementing LDAP/SCIM can be cumbersome, both for developers and Sourcebot administrators, here's some suggestions that provide a good compromise:

  • Admin Members API: Create a admin-only REST API for user management (possibly related to #101?) that would:
    • Allow admin scripts to list/disable/delete users
    • Nice to have: Support batch operations for efficiently managing multiple users
    • Nice to have: Properly documented with #101
  • Activity-based User Management:
    • Implement a configurable system to automatically disable users after a specified period of inactivity
    • Allow administrators to set custom thresholds (30/60/90 days?)
    • Nice to have: Users disabled through inactivity would be automatically re-enabled upon successful SSO login
    • Nice to have: Include options to notify users before automatic disabling

Let me know what you think or if you need more details/context!

Cheers, Gabriel

Linguagem predominante
TypeScript
Estrelas
3.9k
Forks
374
Merge médio
21h 18min
PRs com merge (30d)
39

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sourcebot-dev/sourcebot

Todas as issues de sourcebot-dev/sourcebot

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.