Skip to content
Snippets Groups Projects
Commit dcbb0d73 authored by Benni Mack's avatar Benni Mack Committed by Daniel Goerz
Browse files

[BUGFIX] Access module uses DataHandler for updating page

The permission access module allows for AJAX calls to dynamically
updating page permissions on the fly, where DataHandler is used.

When using the form to do a more customizable change,
plain SQL was used previously to update the pages. This circumvented
the change to also update any translated pages (which DataHandler does
by default).

This wasn't a problem until TYPO3 v9.0, where pages_language_overlay
was merged with "pages", where the permissions of translated pages
should reflect the changes of the default language page.

The change updates the PermissionController->updateAction
to call DataHandler for the changes as well.

Resolves: #89838
Resolves: #88311
Releases: master, 9.5
Change-Id: I9e56b279ddcbb43ee7bb11b330c288b12a0e7439
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62930


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarJörg Bösche <typo3@joergboesche.de>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent d78b1553
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