You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow Course Editors to save ORA and Teams settings in Pages & Resources #596
Some settings are split between Advanced Settings and Pages & Resources. The ORA and Teams settings modals in Pages & Resources only validate the advanced_settings permission, so a Course Editor cannot save them even though they can open Pages & Resources.
Current Behavior
A Course Editor changes ORA or Teams settings in Pages & Resources and saving fails. The frontend already disables the gear button for Progress and Wiki:
That does not cover the deep link to the modal (see the related route-guard issue).
Expected Behavior
For ORA, Teams, Progress and Wiki, the UI and the backend agree on which permission is required, and an Editor is never offered a save that is guaranteed to fail.
Steps to reproduce
Log in as a Course Editor.
Open Pages & Resources and open the Teams (or ORA) settings.
Change a setting and save.
Observe that the save fails.
Acceptance Criteria
A decision is made on which permission governs ORA, Teams, Progress and Wiki settings (advanced settings only, or both).
If advanced-settings-only: the controls are disabled in the modal itself, not only in the gear button, so deep links are covered.
If both are accepted: the backend allows either permission for these four apps.
A Course Editor either saves successfully or sees the controls disabled, never a failing save.
Tests are added or updated.
Proposed Solution
Pick one of:
Disable the controls directly in the modals for the four apps.
Accept both permissions on the backend for the four apps.
Activity