-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Deleting a team does not remove member access to team pages and resources #6016
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
Comments
@JanKoehnlein and I tested it just now and when a team was deleted, I got a 404 when I tried to access any of the team's pages, and I tried it again just now. Could you show me? |
@laushinka hm, have you tried accessing the deleted team as a previously invited team member of that deleted team? |
@gtsiolis Yikes, you're right. So an owner can't access it but a member can. Thanks for catching it 🙏🏽 |
I will look into this. |
Thanks @laushinka! 🙏 |
Cross-posting a closely related edge case from #5894 (comment) for visibility in case we also need to handle (remove) the deleted team from the local storage:
Because of #5854 (Cc @AlexTugarev) this issue impacts also users coming back to the dashboard after some time to load and access the team pages even if that team was deleted in the meantime. Feel free to open a separate issue for this if needed. 🏓 |
/assign @laushinka |
Bug description
Changes in #5966 (Cc @laushinka @JanKoehnlein) introduced the ability to delete teams. However, deleting a team🅰️ does not actually remove the rest of the team members and 🅱️ the rest of the team previously added as members or owners can still access team page, add projects, open workspaces, and trigger prebuilds. See #5966 (comment).
Steps to reproduce
Expected behavior
Possibly redirecting back to the personal account when a user tries to access resources for a deleted team could work.
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: