This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SUGGESTION] WebGUI enhancement for access_users.php

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

[SUGGESTION] WebGUI enhancement for access_users.php

Post by crest »

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

Code: Select all

<td class="listr"><?=array_search($userv['primarygroup'], $a_group);?>&nbsp;</td>
to

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; } }?>&nbsp;</td>
Now one can see all groups
screen_20140304_080347.png
I would propose to implement this into the next release of N4F.

Regards
crest
You do not have the required permissions to view the files attached to this post.
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

RedAntz
experienced User
experienced User
Posts: 125
Joined: 11 Jul 2012 07:46
Location: Sydney, Australia
Status: Offline

Re: [SUGGESTION] WebGUI enhancement for access_users.php

Post by RedAntz »

Thanks crest !

Patch is comitted to SVN : http://sourceforge.net/p/nas4free/code/957/log/?path=

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: [SUGGESTION] WebGUI enhancement for access_users.php

Post by crest »

RedAntz wrote: Patch is comitted to SVN : http://sourceforge.net/p/nas4free/code/957/log/?path=
Great!
I did another bug ticket / patch for ZFS -> http://sourceforge.net/p/nas4free/bugs/164/, perhaps you can take this too.
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

Post Reply

Return to “Suggestions & Requests”