Bug #20315
closedaddEnableColumns-hook in class t3lib_page not working for pages
0%
Description
I wanted to extend access control for fe-users. I found the
addEnableColumns-hook in t3lib_page::enableFields(). There's the
following comment:
"It is used by the extension ingmar_accessctrl which enables assigning
more than one usergroup to content and page records". So, it should be
useful for my plan.
But I do not get the hook working for page-records. In some cases this
hooks seems to work, in others it doesn't. I looked in the core and it
seems, there have been lots of changes since this hook was implemented.
The functionality of Ingmar's extension is now part of the TYPO3 core.
And the function enableFields() seems to need TCA for working - but the
TCA is (now) filled after querying page records. Only a few requests on
pages-table are done after filling the TCA.
So, in fact, the hook can't be used for pages.
(issue imported from #M10907)