openedx / openedx/frontend-app-authoring

Updating access restriction settings for a published unit from the course outline does not change the unit to Draft

Open
#1,316 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

release testing
Dominant language
TypeScript
Stars
17
Forks
218
Avg merge
9d 20h
Merged PRs (30d)
20

Description

Actual behavior

When updating access restriction settings for a published unit from course outline, the unit is not changed to Draft state.

Expected behavior

When updating access restriction settings for a unit from course outline, unit should be set to Draft state.

Steps to reproduce
On the Unit Page
  1. On the unit page, click manage access for the unit.
  2. Select content groups you want restrict access to.
  3. Click save, and see that unit now has a Draft state.
Course Outline
  1. Go to course outline in the Studio
  2. Select an already published unit in Course Outline and click Configure from the three dots menu.
  3. Restrict access to specific content groups. Click save.
  4. See that unit state wasn't changed to Draft, but stays published.

Initially reported in this thread: https://github.com/openedx/frontend-app-authoring/issues/1013

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the course outline's Configure flow for a published unit and compare it with the unit page's Manage access behavior described in the reproduction steps. Confirm that saving an access restriction from the course outline changes the unit state to Draft, matching the expected behavior and the unit page flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.