Allow authz-only roles to load Pages & Resources → Live
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 74/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Start in course_live/permissions.py and trace how IsStaffOrInstructor handles GET and write requests; the issue names course_live/providers and course_live/course as affected endpoints. Check the existing permission tests and add or update coverage for authz-only users, write access, and legacy staff and instructors. Done means authorized users can load Live, only users with manage permission can modify it, and the tests pass.
索引モデルが issue の本文から書いたものです。
説明
Description
Pages & Resources → Live cannot load for users who only have authz roles. course_live/permissions.py IsStaffOrInstructor only accepts legacy GlobalStaff, CourseInstructorRole or CourseStaffRole.
Current Behavior
course_live/providers and course_live/course return 403 for every user with authz-only roles, so the Live page does not load.
Expected Behavior
Users with authz roles can view Live settings with read permission, and change them only with the manage permission.
Steps to reproduce
- Log in as a user with an authz-only role (no legacy course role).
- Open Pages & Resources → Live.
- Observe 403 responses from
course_live/providersandcourse_live/course.
Acceptance Criteria
- Permission checks in
course_live/permissions.pyuseuser_has_course_permissionfor GET requests. - Write requests require
MANAGE_PAGES_AND_RESOURCES. - Users with authz-only roles and view permission can load Live; users without manage permission cannot modify it.
- Legacy staff and instructors keep their current access.
- Tests are added or updated.
- 主要言語
- Python
- スター
- 0
- フォーク
- 10
- 平均マージ
- 3日 23時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openedx/openedx-authz のほかの issue
-
willow
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openedx/openedx-authz#597 ·
メンテナーはふだん 1 日以内に返信
-
willow
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openedx/openedx-authz#579 ·
メンテナーはふだん 1 日以内に返信
-
willow
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
openedx/openedx-authz#600 ·
メンテナーはふだん 1 日以内に返信
-
willow
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
openedx/openedx-authz#598 ·
メンテナーはふだん 1 日以内に返信
-
willow
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
openedx/openedx-authz#596 ·
メンテナーはふだん 1 日以内に返信
openedx/openedx-authz の issue をすべて見る
似ている issue
-
follow-up needs-triage S3: minor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
manaflow-ai/cmux#36856 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Shell framework build fails at "copy the shader libraries": the iOS shader libraries are now one file b-<chain>.img対応中かも @xiaofeng-han が今日担当しました。 オープンbuild ios
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信