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 index page with unauthorized studies: only fetch study tags from authorized studies #4653

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

BasLee
Copy link

@BasLee BasLee commented Jun 29, 2023

Fix index page error screen when a user has unauthorized studies: filter out unauthorized studies in the frontend before fetching the study tags.

In the study list on the index page a user can also search on study tags. At the moment the tags of all studies are fetched. However, you cannot fetch the study tags of unauthorized studies, resulting in a 403 and an error screen (see cBioPortal/cbioportal#10221) . This PR filters out unauthorized studies before fetching the study tags.

(For backend solution, see cBioPortal/cbioportal#10277)

@dippindots
Copy link
Member

This pull request is backward compatible, the failing test is not related to it.

@dippindots dippindots merged commit ff93ce3 into cBioPortal:master Jul 17, 2023
@dippindots dippindots added the bug label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants