#100707Web>List only applies list_type restriction if this column is shown to show "controls"
Description
The ACL explicit_allowdeny allows to restrict an editor to certain plugin types (field list_type):
If an admin creates a plugin of a certain list_type which is not allowed by the editor, in Web>List module the editor will still see the “controls” which would allow him to edit this content element:
As soon as the user also shows the column list_type, the permission check works and he does not see the icons anymore:
The bug most probably came from the optimizations done in Web>List in https://review.typo3.org/c/Packages/TYPO3.CMS/+/68666 – the $row which is passed on to DatabaseRecordList::makeControl and then later to BackendUserAuthentication::recordEditAccessInternals() no longer is the full row, but just a basic version of it + the fields select by the user in the backend. So list_type is missing, and this auth-check is then no longer performed.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
Files 4
History 3
-
Ernesto Baschny changed Related to #93847 <span data-processor="relativetime" data-value="2023-04-21T14:28:15+00:00" > 04/21/23, 14:28 </span>
-
Ernesto Baschny commented <span data-processor="relativetime" data-value="2023-04-21T14:30:26+00:00" > 04/21/23, 14:30 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2025-03-25T22:09:36+00:00" > 03/25/25, 22:09 </span>closing the issue as we got rid of
list_typein v14
Btw, clicking on one of the shown icons when the ACL check fails does not work, and brings the user to the exception:
So the problem is just “cosmetical”, but also UX-related, and has no security implications (AFAIK).