Skip to content
Snippets Groups Projects
Commit 4c8950f7 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Christian Kuhn
Browse files

[BUGFIX] Fix PagesWithoutDescriptionDataProvider

Add the fields "perms_user" and "perms_group"
to the custom database query, since they are
required by calcPerms() to properly calculate
page permissions for non-admin users.

Additionally an early return is added, which
prevents fetching any page in case the user
is not allowed to edit them at all.

Resolves: #100085
Releases: main
Change-Id: Ieb222bc11a61ea324319e1d883f02799447b2a30
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78381


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarSybille Peters <sypets@gmx.de>
parent 81b808ec
No related merge requests found
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