the-mirror-gdp / the-mirror

The open-source Roblox & UEFN alternative giving you freedom to own what you create. An all-in-one, real-time, collaborative game development platform built on Godot.
https://themirror.space
Other
1.15k stars 103 forks source link

[Bug] Blocked user can enter the space if the space window was open before blocking #163

Open lizathemirror opened 5 months ago

lizathemirror commented 5 months ago

PC win10 v6.1.85-dev

Steps to reproduce:

  1. Open the space that is owned by another user (and there is an access to the owner account)
  2. Open and close the space settings window (by clicking the settings icon in the Build mode or open it in the menu after clicking ESC)
  3. Kick out the user from the owner account by setting the personal permission to Blocked
  4. Pay attention to the opened for blocked user space window (there is a Build button)
  5. Click on the Build button

Actual Result: Even after being blocked the user can enter the space if the space window has been opened before the blocking

Expected Result: A blocked user should never be able to enter the space untill unblocking

Attachments:

https://github.com/the-mirror-gdp/the-mirror/assets/116018527/3acdd612-994f-4743-9ec8-c96026d18557