Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the Limited Staff role experience #361

Open
jmakowski1123 opened this issue Jun 7, 2024 · 5 comments
Open

Improvements to the Limited Staff role experience #361

jmakowski1123 opened this issue Jun 7, 2024 · 5 comments

Comments

@jmakowski1123
Copy link

jmakowski1123 commented Jun 7, 2024

The Limited Staff role needs some improvements to the user experience.

Currently, when a user with the Limited Staff role lands on a Studio Page in the new course-authoring MFE, they are blocked by a 403 error message, which contains json fields and is difficult to interpret. Minimally, the messaging could be improved to explain that the user is not granted access to Studio.

An enhancement can be made in the Studio experience such that users with this role do not see the "View this course in Studio" button. This will greatly reduce the chance of users trying to access parts of the platform that they don't have access to.

Copy link

github-actions bot commented Jun 7, 2024

Thanks for your submission, @openedx/open-edx-project-managers will review shortly.

@jmakowski1123
Copy link
Author

@arbrandes @brian-smith-tcril Could you please add any technical requirements you'd like to see here?

@brian-smith-tcril
Copy link

In order to be able to fully test the Limited Staff role UX, I'd want to know:

  • What pages are not accessible by Limited Staff?
    • If a Limited Staff user navigates directly to those pages (by entering a URL), what should they see?
      • Should they see the same thing on every page they cannot access?
      • Should they see the same thing as other roles that cannot access those pages?
  • What UI elements on pages Limited Staff can access exist that navigate to pages Limited Staff cannot access?
    • Are they currently visible by limited staff?
    • Should they be hidden/disabled?

Answers to the previous questions would help inform my thoughts on this from a technical implementation perspective:

  • If Limited Staff should see the same thing on every page they cannot access, and they should see the same thing as other roles that cannot access those pages, can we make a generic "you lack permission to see this page" page?
  • If all UI elements that navigate to pages Limited Staff cannot access should be hidden/disabled, and the same is true for any other role that cannot access a page, can we write generic "hide/disable based on role" logic to wrap navigation elements in?

@jmakowski1123
Copy link
Author

Limited Staff should not have access to any of the Studio pages in the course-authoring MFE.
In the LMS, Limited Staff have the same permissions as Course Staff.
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.
If Limited Staff land on a Studio page via a url, they should see a message indicating they do not have access to the page. This message can be the same for any Studio url.

@0x29a as the contributing author for this role, is there anything you'd add here? openedx/edx-platform#32570

@0x29a
Copy link

0x29a commented Jun 11, 2024

as the contributing author for this role, is there anything you'd add here?

No, @jmakowski1123, this description is correct. cc @Agrendalath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: [Prod Proposals] NEW
Development

No branches or pull requests

3 participants