+2007-03-27 Dmitry Dulepov <dmitry@typo3.org>
+
+ * Added hook to class.t3lib_userauthgroup.php, function recordEditAccessInternals
+
2007-03-23 Dmitry Dulepov <dmitry@typo3.org>
* Fixed bug 5269: wsol_preview.php does not scroll to content element
// Checking record permissions
// THIS is where we can include a check for "perms_" fields for other records than pages...
+ // Process any hooks
+ if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['recordEditAccessInternals'])) {
+ foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['recordEditAccessInternals'] as $funcRef) {
+ $params = array(
+ 'table' => $table,
+ 'idOrRow' => $idOrRow,
+ 'newRecord' => $newRecord
+ );
+ if (!t3lib_div::callUserFunction($funcRef, $params, $this)) {
+ return FALSE;
+ }
+ }
+ }
+
// Finally, return true if all is well.
return TRUE;
}