Commit 31e8a42d authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor bug fix; do not send subgroup membership in emulab-ops when

that is not the project the experiment is being created in. This
avoids problems when creating the inner boss since those subgroups
will not be present on the inner boss.
parent ecc1068d
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004-2007 University of Utah and the Flux Group.
# Copyright (c) 2004-2008 University of Utah and the Flux Group.
# All rights reserved.
#
# TODO: ntpinfo table.
......@@ -718,7 +718,7 @@ sub DumpDBGoo()
DBQueryWarn("select gm.* from group_membership as gm ".
"left join users as u on u.uid_idx=gm.uid_idx ".
"where (gm.pid='$pid' or ".
" gm.pid='" . TBOPSPID() . "') and ".
" (gm.pid='" . TBOPSPID() . "' and gm.pid=gm.gid)) and ".
" u.status='" . USERSTATUS_ACTIVE() . "' and ".
" gm.uid!='elabman' and gm.uid!='elabckup' and ".
" gm.uid!='operator' ".
......
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