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

SS-1126 Remove access to project after deletion #253

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

akochari
Copy link
Collaborator

Description

This PR relates to issue SS-1126. Previously, after project deletion if the user would try to open the deleted project page (e.g. it was bookmarked) they would get stuck in an infinite refresh loop. In case of superusers, they are informed that they are trying to access a project that has been removed.

Checklist

If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

  • This pull request is against develop branch (not applicable for hotfixes)
  • I have included a link to the issue on GitHub or JIRA (if any)
  • I have included migration files (if there are changes to the model classes)
  • I have included, reviewed and executed tests (unit and end2end) to complement my changes
  • I have updated the related documentation (if necessary)
  • I have added a reviewer for this pull request
  • I have added myself as an author for this pull request
  • In the case I have modified settings.py, then I have also updated the studio-settings-configmap.yaml file in serve-charts

@akochari akochari added the bug Something isn't working label Nov 20, 2024
@akochari akochari marked this pull request as ready for review November 20, 2024 14:03
@akochari akochari requested review from alfredeen and a team November 20, 2024 14:03
@akochari akochari changed the title SS-1126 remove access to project after deletion SS-1126 Remove access to project after deletion Nov 20, 2024
Copy link
Member

@alfredeen alfredeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Have not tested it.

@akochari akochari merged commit 1b83c5e into develop Nov 21, 2024
2 checks passed
@akochari akochari deleted the SS-1126-access-to-project-after-deletion branch November 21, 2024 10:01
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants