Skip to content
Snippets Groups Projects
Commit 3f25e7ff authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Properly handle module access for workspaces

This fixes a couple of workspace related issues
in the module access evaluation.

Basically, it's now ensured that the user will
never be confronted with an exception for cases
where he is in a module, which is not allowed in
a workspace and then switches the workspace.

This also applies for deep links. Therefore, the
the start module evaluation, taking the redirect
into account, is now respecting the fact that the
given module might be temporarily not accessible.

Finally the inheritance of the workspace access
restriction is restored by changing the default
value in the BaseModule and respecting the parent
module's configuration for sub modules in the
access check. Previously it was possible to
access such sub modules, e.g. the site configuration
module in a workspace by using a deep link.

Resolves: #102665
Releases: main, 12.4
Change-Id: I1daabcd9d6b1cb9782a96c7c02ae0bf285369ede
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82124


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 9a41fb0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment