[TYPO3-core] RFC #17452: Bug: options.hideRecords.pages is ignored for webmounts in pagetree

Andreas Kiessling kiessling at pluspol.info
Wed Feb 16 17:32:41 CET 2011


This is a SVN patch request.

Type: Bugfix

BT reference: http://bugs.typo3.org/view.php?id=17452

Branches: 4_5, trunk

Problem: options.hideRecords.pages can be used to hide pages in the 
pagetree. This currently only works, if the page to be hidden is a "sub 
page", but not if it is a page mount for a user. Best example would be 
the DAM-Folder, which should only be edited from its own backend module, 
but not from the list view.

How to test:
- set this in userTS for a user with multiple mounts
options.hideRecords.pages = pageid_of_mount
- switch to the user

Solution: check the already available array with the "hidden pages" when 
the tree mounts are built. This restores the behavior from < 4.5

The patch already has a +1 (testing) from Jürgen Weber

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17452_v1.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110216/c71a540d/attachment.bin>


More information about the TYPO3-team-core mailing list