Skip to content

Deleting a team does not remove member access to team pages and resources #6016

Closed
@gtsiolis

Description

@gtsiolis

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

  1. Create a team.
  2. Invite another team member.
  3. Delete the team as a team owner.
  4. Notice that as a team member you can still access team page, add projects, open workspaces, and trigger prebuilds.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions