[TYPO3-dev] Rights for Content Elements

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Apr 11 17:59:08 CEST 2007


Tapio Markula schrieb:
> Martin Kutschker
> 
>>
>> I'm not sure if hiding or greying of standard icons like edit is 
>> better, but it's important that the UI leads to no dead ends because 
>> of missing or misplaced permission checks.
>>
>> Masi
> 
> 
> yes. The problem is that it is very difficult to build permission check
> before opening record.
> 
> Basically the code
> 
> 'if ($hasAccess)    {...
> 
> which is alt_doc.php in function makeEditForm()
> 
> should remove from there and make for it own class file
> and include that class file
> into Web > Page and Web > List modules.
> 
> The function could have also nice hook
> before starting final access check

A hook for access check has been added recently. It's definitely in SVN 
perhaps also for 4.1. Have a look at the latest postings in the Core list, 
I think Dmitry Dulepov added it.

Masi




More information about the TYPO3-dev mailing list