#15425Add hook to t3lib_TCEmain::checkModifyAccessList()
Description
For the extension civserv a finer granulation of the rights concept is needed: the civserv model-service-workflow requires editors to edit certain records in the BE while at the same time they do not have the right to delete any of these records (nor to create new records of that kind).
We propose a hook in the function checkModifyAccessList($table) in class.t3lib_tcemain.php, which can be used by a function function recheckModifyAccessList($table, $cmdmap, $pObj, &$res).
Please see the attached file for a code-implementation of the hook, the way we use it today.
the hook we propose is only a crook in some way: it would be best (for the purposes of civserv and perhaps other extensions as well?) if there was a possibility to eleminate the bin-symbol from the BE (extended view) in certain cases.
The TSConfig “options.disabledelete.[table]” brings us halfway where we would like to be – only we would like to prevent the editor from being able to delete records from certain tables at all.
Kind regards
britta kohorst
(issue imported from #M2278)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.