[SUGGESTION] WebGUI enhancement for access_users.php
Posted: 04 Mar 2014 07:06
During several tests with different user / group permissions I noticed that on the WebGUI page ACCESS | USERS & GROUPS | USERS (access_users.php) under column Group there is currently only the primary group of a user visible. I would find it much more informative to see there all groups a user belongs to.
With a one-liner this can be done, I just changed the line
to
Now one can see all groups
I would propose to implement this into the next release of N4F.
Regards
crest
With a one-liner this can be done, I just changed the line
Code: Select all
<td class="listr"><?=array_search($userv['primarygroup'], $a_group);?> </td>Code: Select all
<td class="listr"><?=array_search($userv['primarygroup'], $a_group); if (is_array($userv['group'])) { for ($i = 0; $i < count($userv['group']); ) { echo ", ".array_search($userv['group'][$i], $a_group); ++$i; } }?> </td>Regards
crest