openedx / openedx/frontend-app-authoring
Updating access restriction settings for a published unit from the course outline does not change the unit to Draft
Nobody has claimed this yet.
- 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
- On the unit page, click manage access for the unit.
- Select content groups you want restrict access to.
- Click save, and see that unit now has a Draft state.
Course Outline
- Go to course outline in the Studio
- Select an already published unit in Course Outline and click Configure from the three dots menu.
- Restrict access to specific content groups. Click save.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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