addEnableColumns-hook in class t3lib_page not working for pages
|Priority:||Should have||Due date:|
|Assignee:||Julian Hofmann||% Done:||
I wanted to extend access control for fe-users. I found the
addEnableColumns-hook in t3lib_page::enableFields(). There's the
"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)
|related to Core - Feature #20261: enableFields is missing a hook to manipulate the generate...||Needs Feedback||2009-04-01|
Updated by Thorsten Kahler about 1 year ago
- Category deleted (
- Status changed from New to Needs Feedback
- Assignee set to Julian Hofmann
- Target version deleted (
is this still an issue for you? And if so: what's the "bug" about it? Could you please describe what you think is buggy?