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

BUGFIX: Ensure users do not run into "No workspace is assigned to the user with id" after cr:prune and site switching #5308

Closed

Conversation

mficzel
Copy link
Member

@mficzel mficzel commented Oct 21, 2024

  • After cr:prune all sessions are destroyed to enforce a fresh login. The login will then create the missing personal workspace if needed.
  • During site:switch it is checked wether the new site has a personal workspace for the current user and create this if missing

Resolves: #4566
Relates: #4401

Review instructions

This is ugly but a base for discussion the possible solutions for the problem.

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

… user with id" after `cr:prune` and site switching

- After `cr:prune` all sessions are destroyed to enforce a fresh login. The login will then create the missing personal workspace if needed.
- During site:switch it is checked wether the new site has a personal workspace for the current user and create this if missing

Resolves: neos#4566
Relates: neos#4401
@mficzel
Copy link
Member Author

mficzel commented Oct 22, 2024

@mficzel mficzel closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Odd things about (user) workspaces
1 participant