I had the need to hide a table from a group of users, but needed to give them view access the get the DV to stay up after record insert so that they information that is the same could be reused and save as a copy could be used.
The way I did it was (after searching this forum) was to put the following in hooks.
Code: Select all
unction AAR_init(&$options, $memberInfo, &$args) {
if ($memberInfo['group'] == 'Agencies')
{
$options->AllowCSV = 0;
$options->RecordsPerPage = 1;
$options->HideTableView = ($perm[2]==0 ? 1 : 0);
}
return TRUE;
Thanks
Jim