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

Use first available content scope for user as default value #737

Merged

Conversation

raphaelblum
Copy link
Contributor

Description

When a user does not have the defaultScope as permission, only a white page is rendered. This PR redirects the user to the first scope they have access to.

From here: vivid-planet/comet#3417

Screenshots/screencasts

Before:

Screen.Recording.2025-02-12.at.15.37.12.mov

After:

Screen.Recording.2025-02-12.at.15.21.59.mov

When the user has no scopes assigned:
Before:
Screenshot 2025-02-12 at 15 20 35

After:
Screenshot 2025-02-12 at 15 20 19

Still a white page for the user but that is another topic.

@johnnyomair johnnyomair merged commit 9398e0e into main Feb 24, 2025
3 checks passed
@johnnyomair johnnyomair deleted the use-first-available-content-scope-for-user-as-default-value branch February 24, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants