Admin can remove themselves from the organization
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
❌ 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
- Sign in as an organization admin.
- Open the organization's SHARING tab.
- Find yourself in the Users section.
- Remove yourself from the organization.
- 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.
- 主要语言
- Python
- 星标
- 192
- 派生
- 310
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 67
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
learningequality/studio 的其他 Issue
-
DEV: frontend P3 - low
难度 2/5 1-3 小时 新手友好度 74/100
learningequality/studio#5868 ·
维护者通常 1 天内回复
-
TAG: tech update / debt
难度 2/5 1-3 小时 新手友好度 62/100
learningequality/studio#2245 ·
维护者通常 1 天内回复
-
bug DEV: frontend P0 - critical
难度 3/5 1-2 天 新手友好度 22/100
learningequality/studio#6316 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 4/5 1-2 天 新手友好度 25/100
learningequality/studio#6314 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 25/100
learningequality/studio#6313 ·
维护者通常 1 天内回复
查看 learningequality/studio 的全部 Issue
相似的 Issue
-
fix formatting of the sample database page of the docs可能已有人在做 @Aaqibhafeezkhan 今天认领。 未关闭documentation good first issue help wanted
难度 1/5 1 小时以内 新手友好度 72/100
chaoss/CollectOSS#544 · 1 条评论 ·
维护者通常 1 天内回复
-
area/plugin good first issue
难度 2/5 1-3 小时 新手友好度 85/100
kestra-io/plugin-soda#137 ·
-
难度 2/5 半天 新手友好度 62/100
ibm-granite/granite.build#504 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复