openedx / openedx/frontend-app-authoring
Creating a new group restores previous configurations on the units (teams - content groups)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17
- Forks
- 218
- Avg merge
- 9d 20h
- Merged PRs (30d)
- 20
Description
Expected Behavior
The unit configuration is maintained independently of the Groups created.
Actual Behavior
The unit configuration is restored when I create a new Group.
Steps to Reproduce
-
Create a Waffle Flag for your course in
{lms_domain}/admin/waffle_utils/waffleflagcourseoverridemodel/- Waffle Flag:
teams.content_groups_for_teams - Course id: [Your Course ID]
- Enabled: ✅
- Waffle Flag:
-
Enables Teams in the platform using the
teams.enable_teams_appflag. -
Enable teams for your course in Studio > [Your Course] > Content > Pages & Resources > Teams > Teams toggle
-
In the same modal of Configure teams, create a few Groups.
-
Then, go to the LMS > [Your Course] > Teams and create a few Teams within those Groups (topics/team-sets)
-
In Studio, create a new Unit, and configure it to Restrict access to some Team.
-
As a student, join the Team previously configured. You'll be able to see the content.
-
Now, as staff create a new Group, similar to step 4.
-
See again the Unit configured; the configuration is missing.
-
As a student, you'll not be able to see the unit, even if you belong to the initially configured Team. Only the Staff can see the Unit.
https://github.com/user-attachments/assets/04410567-4b24-4e07-b90e-c80919897360
Additional Information
- Implementation PR: https://github.com/openedx/edx-platform/pull/33788
Notes
- The bug also occurs when using the Legacy Interface.
- This issue was originally reported in edx-platform, however, the bug comes from the MFE.
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 in the frontend-app-authoring repository by reproducing the Studio workflow described in the issue, then review the implementation PR linked in the report for the affected teams and unit-access configuration flow. Done means creating a new Group no longer removes an existing Unit's Team restriction, including when the Legacy Interface is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100