frontend-app-learning icon indicating copy to clipboard operation
frontend-app-learning copied to clipboard

feat: hide studio button for limited staff [BB-9082]

Open 0x29a opened this issue 6 months ago • 4 comments

Description

Partially addresses https://github.com/openedx/platform-roadmap/issues/361 issue, by implementing the second suggestion from here:

Limited Staff should not see the button to "view this course in Studio" from the LMS. This will reduce chances for Limited Staff to land on Studio pages.

This fix relies on https://github.com/openedx/edx-platform/pull/35313.

Testing

  1. Create two users, [email protected] and [email protected].
  2. In the instructor's dashboard, assign [email protected] user to the staff course access role, and [email protected] to the limited staff course access role.
  3. Verify that the limited staff user doesn't see "View in Studio" button. Cycle through different roles in "View this course as:" dropdown and verify that none can see this button.
  4. The same as №3, but staff user should see this button always.

0x29a avatar Aug 14 '24 16:08 0x29a