Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Admin can remove themselves from the organization

Đang mở
#6,315 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
authorization

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
192
Fork
310
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
67

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của learningequality/studio

Tất cả issue của learningequality/studio

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.