2010-04-10 Steffen Kamper <info@sk-typo3.de>
+ * Added feature #13949: Hookrequest - alt_doc::makeEditForm() to enable further access-restrictions (thanks to Tolleiv Nietsch)
* Added feature #13948: Hookrequest - tslib_fe pre/post process for settingLanguage() (thanks to Tolleiv Nietsch)
* Added feature #13947: Hookrequest - tslib_menu should provide hook for further filtering (thanks to Tolleiv Nietsch)
* Added feature #13952: Hookrequest - t3lib_page::getPageOverlay (thanks to Tolleiv Nietsch)
} else $hasAccess = 0;
}
+ if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck'])) {
+ foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck'] as $_funcRef) {
+ $_params = array(
+ 'table' => $table,
+ 'uid' => $theUid,
+ 'cmd' => $cmd,
+ 'hasAccess' => $hasAccess
+ );
+ $hasAccess = t3lib_div::callUserFunction($_funcRef, $_params, $this);
+ }
+ }
+
// AT THIS POINT we have checked the access status of the editing/creation of records and we can now proceed with creating the form elements:
if ($hasAccess) {