Frontend: Role detail view Members tab

未关闭
#575 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
57/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python

调研方向

Start by reading ADR 0024 and tracing the existing GET /api/authz/v1/users/ and /roles/users/ endpoints to confirm their search, scope, sort, and pagination parameters. Build the role detail Members tab with the specified columns, controls, row actions, header buttons, and loading, error, and empty states. Done means the acceptance criteria work with those endpoints and the table is accessible.

由索引模型根据 Issue 内容生成。

描述

willow

Build the Members tab. Breadcrumb "Roles and Permissions Management -> Roles and permissions -> ", role name as the page title, and header buttons "Duplicate role" and "Assign Role" (present on standard roles too).

Columns (exact): Username, Email, Scope (e.g. "Crestline Professional Development", "All Platform"; a row may show a nested sub-scope line beneath, e.g. a course under a department/library), Actions. Controls: Search box, a "Scope" filter, sort carets on Username/Email, "Showing N users of M" with prev/next pagination (page selector "1 of 10"). Per-row Actions: a view (eye) icon and a revoke (trash) icon (revoke modal lives in the Actions epic).

Sourced from the existing endpoints (GET /api/authz/v1/users/ — ADR 0024 — and /roles/users/), which already provide search, scope filter, sort and pagination.

Acceptance
  • Members listed for the role; search + scope filter + sort + pagination wired to existing endpoint params.
  • Per-row view and revoke actions; Duplicate/Assign header buttons.
  • Empty/loading/error states; accessible table.

Design: https://www.figma.com/design/xnmQJq1cTRVqNrs31R8zDM/AuthZ---v2?node-id=40000174-2&p=f&t=AfaPxKGH7lD48V93-0

主要语言
Python
星标
0
派生
10
平均合并
5 天 5 小时
30 天内合并 PR
22

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openedx/openedx-authz 的其他 Issue

查看 openedx/openedx-authz 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。