Commit 09121a9a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor change for Dave: Add emulab-widearea-users list, which is a list

of all people in projects that are approved to use widearea/ron nodes
(pcremote_ok!=NULL). Note, I am combining all kinds of widearea nodes
into one email list. Might need to create per-type lists, but I hope
not.
parent 2d9ee9c8
......@@ -188,6 +188,18 @@ foreach my $active ( 0, 1 ) {
genelist($query_result, $userlist, $progarg);
}
#
# Special list for people approved to use the widearea-nodes.
#
$query_result =
DBQueryFatal("SELECT DISTINCT u.usr_email from projects as p ".
"left join group_membership as m on m.pid=p.pid ".
"left join users as u on u.uid=m.uid ".
"where p.approved!=0 and p.pcremote_ok is not null ".
" and m.trust!='none' and u.status='active'");
genelist($query_result, "$TBOPS", "emulab-widearea-users");
#
# Regen project lists. Either all the lists, or just the projects
# that "newuser" is a member of.
......
Supports Markdown
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