Bug #20315

addEnableColumns-hook in class t3lib_page not working for pages

Added by Julian Hofmann about 4 years ago. Updated about 1 month ago.

Status:Closed Start date:2009-04-15
Priority:Should have Due date:
Assignee:Julian Hofmann % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.2 Complexity:
PHP Version:4.3
Votes: 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)


Related issues

related to Core - Feature #20261: enableFields is missing a hook to manipulate the generate... Needs Feedback 2009-04-01

History

Updated by Thorsten Kahler about 1 year ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Assignee set to Julian Hofmann
  • Target version deleted (0)

Hi Julian,

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?

Updated by Alexander Opitz about 1 month ago

  • Status changed from Needs Feedback to Closed

No response since one year => closed.

Also available in: Atom PDF