Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Admin can remove themselves from the organization

Aperta
#6,315 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
authorization

Direzione di ricerca

Trace the organization membership removal flow used from the SHARING tab, focusing on how it authorizes removal of the current user. Find the permission check that allows an organization admin to remove themselves and determine how the expected web admin approval should work. Done means self-removal is blocked or requires approval, with the behavior covered by a test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Target branch: unstable

Observed behavior

An organization admin is able to remove their own membership from the organization.

Errors and logs

No application errors were reported. This is a policy/authorization issue in the organization membership management logic.

Expected behavior

Admins should not be able to remove themselves from an organization. At minimum, this action should be blocked or require approval from a web admin.

User-facing consequences

Self-removal can make the organization's membership history harder to audit by removing an admin without an explicit handoff. This may make it less clear why the admin's access ended and whether the change was an intended administrative decision.

Steps to reproduce

  1. Sign in as an organization admin.
  2. Open the organization's SHARING tab.
  3. Find yourself in the Users section.
  4. Remove yourself from the organization.
  5. Observe that the admin leaves the organization even though doing so should be restricted.

Context

This issue affects organization membership controls and is a direct authorization bug. The report notes this as a distinct case from removing another admin, and the underlying permission model appears to be incorrectly allowing self-removal.

AI usage

The bugs were gathered by a human and later turned into issue descriptions with the help of an AI assistant. The assistant was used to draft the wording and structure of the report, and the final text was reviewed and adjusted for accuracy based on the supplied bug summary.

Lingua principale
Python
Stelle
192
Fork
310
Merge medio
2g 10h
PR unite (30g)
66

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di learningequality/studio

Tutte le issue di learningequality/studio

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.