Project

General

Profile

Actions

Bug #17698

closed

Hook Request: db_list

Added by Malte Jansen about 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Miscellaneous
Target version:
-
Start date:
2007-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It would be cool, if you could add a Hook to the typo3/db_list.php->main
for manipulations on the $dblist-object after:

$this->pointer = t3lib_div::intInRange($this->pointer,0,100000);
$dblist->start($this->id,$this->table,$this->pointer,$this->search_field,$this->search_levels,$this->showLimit);
$dblist->setDispFields();

I need the $this->id, $this->table and the $dblist for the manipulation.

An other option is, that the hook could be placed at the end of typo3/class.db_list.inc->start(...)

Reason:
I would like to add some permissions via PageTS like "only the owner or (cruser_id) of a record of special table can edit/see the record" and "a special group (e.g. chef editor) can see all records" on a page. So the administration effort is minimized, so you don't have to create a sys-folder for every editor who should edit a record-type like tt_news.

(issue imported from #M6545)


Files

db_list_hook.patch (1.47 KB) db_list_hook.patch Administrator Admin, 2007-11-12 15:34

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #17766: Limited List-View for BE-userClosedIngo Renner2007-11-08

Actions
Actions #1

Updated by Malte Jansen about 17 years ago

There is better place to make a Hook... see patch-file

Actions #2

Updated by Ingo Renner about 17 years ago

committed to trunk

Actions

Also available in: Atom PDF