Re-wrote the user interface code to use the new Webmin UI library, for a more consistent look.
---- Changes since 1.440 ----
Converted commands in the module's API file to POD format, and added more details about each function.
+---- Changes since 1.490 ----
+Fixed restrictions based on secondary group membership.
@g = getgrnam($g);
$gcan{$g[2]}++;
if ($access{'sec'}) {
- foreach $m (split(/,/, $g[3])) {
+ foreach $m (split(/\s+/, $g[3])) {
$insec{$m}++;
}
}
foreach $gname (split(/\s+/, $access{'users'})) {
local @g = getgrnam($gname);
return 1 if (&indexof($_[0]->[0],
- split(/,/, $g[3])) >= 0);
+ split(/\s+/, $g[3])) >= 0);
}
}
return 0;