You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2011/11/02 18:03:24 UTC
svn commit: r1196690 -
/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm
Author: fapeeler
Date: Wed Nov 2 17:03:23 2011
New Revision: 1196690
URL: http://svn.apache.org/viewvc?rev=1196690&view=rev
Log:
VCL-463
check to skip reservation owner when processing the login groups
Modified:
incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm
Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm?rev=1196690&r1=1196689&r2=1196690&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm Wed Nov 2 17:03:23 2011
@@ -1902,6 +1902,7 @@ sub manage_server_access {
my $server_request_id = $self->data->get_server_request_id();
my $server_request_admingroupid = $self->data->get_server_request_admingroupid();
my $server_request_logingroupid = $self->data->get_server_request_logingroupid();
+ my $user_login_id_owner = $self->data->get_user_login_id();
# Build list of users.
# If in admin group set admin flag
@@ -1963,6 +1964,8 @@ sub manage_server_access {
foreach my $userid (sort keys %user_hash) {
next if (!($userid));
+ #Skip reservation owner, this account is processed in the new and reserved states
+ next if ($userid eq $user_login_id_owner);
my $standalone = 0;
if(!exists($res_accounts{$userid})){
# check affiliation