Is it possible to disable a action of the menu (upper left) 'actions to be performed?
In the index.php file i write a few lines to disable the function, but the action is selectable in the menu:
if ( isset($_REQUEST['-new']) || isset($_REQUEST['-delete-one']) ){
if ( $_REQUEST['-table'] == 'EMPLOYEES_BUSINESS') {
$_GET['-action'] = 'list';
$_REQUEST['-action'] = 'list';
unset( $_REQUEST['-new']);
unset( $_GET['-new']); // disables creation of new records
}
}
Greeting,
Nico Sijm