This topic is locked

Control Tables approve Area administrator

1/19/2009 5:36:00 PM
PHPRunner General questions
S
sandrotab author

Hello everyone,
In the Administration Areayou can filter out some tables. I want my client to give the possibility to use the Administration to create permissions, groups and users, but I would like to limit the tables that he can see. In this way, although the complete software, I would be able to enable a module (ie, I decide that the tables can see) maybe doing a TableName join with access protected.
In this way, when I want my client to enable other modules / tables in the program, I can only do so by updating my TableName control that crossed with him admin_rights can see the other tables that make up the software. You will not need to update the whole program but only one table.

E 'possible solution? or you have other suggestions?
Thanks for the suggestions

J
Jane 1/20/2009

Hi,
to hide tables on the Permissions tab edit generated admin_rights_list.php manually.

For exampe find this code:

foreach($tables as $tbl)

{

$row=array();

...

}



and replace it with this one:

foreach($tables as $tbl)

{

if ($tbl[0]!="TableName")

{

$row=array();

...

}

}