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

Proper redirect of a user without permissions to see a certain page #12820

Open
pcenov opened this issue Nov 12, 2024 · 2 comments
Open

Proper redirect of a user without permissions to see a certain page #12820

pcenov opened this issue Nov 12, 2024 · 2 comments
Labels
P1 - important Priority: High impact on UX

Comments

@pcenov
Copy link
Member

pcenov commented Nov 12, 2024

Observed behavior

This is a follow-up to #12775 and also the issue is extant in Kolibri 0.17.3

  1. Attempting to view the Learners page as a Learner user results in seeing a blank page, instead of seeing the message "You must be signed in as an admin or coach to view this page":

learners

  1. The 'Go to home page' link is not working for the rest of the pages where it is shown:
permissions.mp4

Expected behavior

Proper redirect of a user without permissions to view a certain page.

Steps to reproduce the issue

  1. Install the build from Coach main navigation refactor #12775
  2. Go to Coach > Class home as a Coach
  3. Sign out and sign in as a Learner
  4. Attempt to view any of the Coach pages (or other pages not accessible to a Learner)

Usage Details

Windows 11, Ubuntu 22 - Chrome

@pcenov
Copy link
Member Author

pcenov commented Nov 12, 2024

@radinamatic

@marcellamaki marcellamaki added the P1 - important Priority: High impact on UX label Nov 12, 2024
@rtibbles
Copy link
Member

I think this is a duplicate of #12442, but leaving this open as it has more explicit path to replication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 - important Priority: High impact on UX
Projects
None yet
Development

No branches or pull requests

3 participants