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

Fix wrong loading state when user has no right to load ResourceList #546

Closed
callmevladik opened this issue Jan 13, 2025 · 0 comments · Fixed by #547
Closed

Fix wrong loading state when user has no right to load ResourceList #546

callmevladik opened this issue Jan 13, 2025 · 0 comments · Fixed by #547
Assignees
Labels
bug Something isn't working

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Jan 13, 2025

Users are experiencing an unending loading spinner on the Components page when they navigate to an environment to which they do not have access permissions. This issue leads to a poor user experience, as it does not inform the user about the lack of access rights or redirect them appropriately.

Acceptance Criteria
When a user navigates to the Components page of an environment they do not have access to, the system should check for user permissions.
If the user does not have the necessary access rights, display an appropriate error message (e.g., "You do not have access to this environment.") instead of showing an unending loading spinner.
The error message should be accompanied by a redirection option or a button to go back to a previous page where the user has access.
Ensure the fix does not affect loading times or access for users with appropriate permissions to the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant