[TYPO3-dev] Making backend records read-only

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Sep 2 20:33:35 CEST 2006


Doesn't tm_contentacces (sp?) by Tapio Markula do that already?

Masi

Steffen Kamper schrieb:
> Hi Jeff,
> 
> for my oppinion there have to be a hook on clicking the edit. The proc 
> called is alt_doc.php/makeEditForm()
> but there is no hook. It would be easy if changed permissions before 
> entering this function building the edit form.
> 
> May be one of the core specialists know a solution ...
> 
> mg  Steffen
> 
> "Jeff Segars" <jsegars at alumni.rice.edu> schrieb im Newsbeitrag 
> news:mailman.1.1157148625.13646.typo3-dev at lists.netfielders.de...
>> I'm trying to make certain backend records within an extension read-only, 
>> but I haven't been able to figure out of its possible.
>>
>> I've seen the readOnly flag in the ctrl section of the TCA, which can be 
>> used to set an entire table as readOnly (See [1]).  I'm looking for a way 
>> to achieve this same effect on a per-record basis though, depending on 
>> whether a flag is set in the record.
>>
>> My first thought was to to find a hook and modify the TCA on the fly for 
>> each record, but I haven't been able to find any hooks to modify list view 
>> (looking in typo3/class.db_list.inc and typo3/class.db_list_extra.inc).
>>
>> Does anyone have suggestions on how this can be done?
>>
>> Thanks,
>> Jeff
>>
>>
>> [1] 
>> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/4/2 
> 
> 




More information about the TYPO3-dev mailing list