You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're encountering with accessing certain team and organization pages without proper access rights, leading to an application crash, appears to be a bug related to how unauthorized access is handled. This problem is similar to the one reported in GitHub issue [CAL-3715], which involves users seeing an empty page instead of being redirected when attempting to access organization-related pages without proper authorization. The intended fix, as discussed in pull request #15103, aims to address unauthorized access by implementing server-side checks to ensure that only users with the appropriate roles and permissions can access certain pages.
The key aspects of the fix involve:
Verifying if the user is part of an organization and has an OWNER or ADMIN role.
Implementing checks to return a notFound response if the user does not meet the necessary criteria, effectively blocking unauthorized access.
However, it seems there might be an unhandled edge case or a bug in the access control or redirection logic, especially concerning team pages, which could be causing the crash. The application's mechanism for handling unauthorized access involves both OrganizationRolesGuard and server-side checks, designed to manage access based on user roles within an organization.
To further diagnose and potentially resolve this issue, it would be helpful to have more details about the error message or crash report you're encountering, as well as information about your user role and membership status within the team or organization you're attempting to access. This additional information could provide crucial insights into the cause of the crash and how to address it.
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 馃憤 if this is helpful and 馃憥 if it is irrelevant.
Found a bug? Please fill out the sections below. 馃憤
Issue Summary
Official hosted version of cal.com crashes when access certain pages of teams , organization with no access ,
Steps to Reproduce
/settings/teams/4/members
/settings/teams/4/profile
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
Actual Results
Expected Results
Evidence
#15061 (comment)
The text was updated successfully, but these errors were encountered: