Commit 6c82bc23 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Do not do a setgroups for webonly accounts; skip uid.

parent 51b7378e
......@@ -202,6 +202,13 @@ foreach my $uid (@userlist) {
my $groupargument;
my $project;
$query_result = DBQueryFatal("select webonly from users ".
"where uid='$uid' and webonly=1");
if ($query_result->numrows) {
print "Skipping $uid; webonly account!\n";
next;
}
#
# Form a list of project (group) membership names. We do this in two
# steps to ensure that we get the default group membership since we
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment