Commit a2caaa98 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix to previous revision.

parent f469570b
...@@ -975,7 +975,7 @@ sub TBProjAccessCheck($$$$) ...@@ -975,7 +975,7 @@ sub TBProjAccessCheck($$$$)
# #
# Must map to an existing user to be trusted, obviously. # Must map to an existing user to be trusted, obviously.
# #
my $target_user = User->Lookup($uid); my $target_user = User->LookupByUnixId($uid);
return 0 return 0
if (! defined($target_user)); if (! defined($target_user));
...@@ -1001,7 +1001,7 @@ sub TBExptAccessCheck($$$$) ...@@ -1001,7 +1001,7 @@ sub TBExptAccessCheck($$$$)
# #
# Must map to an existing user to be trusted, obviously. # Must map to an existing user to be trusted, obviously.
# #
my $target_user = User->Lookup($uid); my $target_user = User->LookupByUnixId($uid);
return 0 return 0
if (! defined($target_user)); if (! defined($target_user));
...@@ -1028,7 +1028,7 @@ sub TBNodeAccessCheck($$@) ...@@ -1028,7 +1028,7 @@ sub TBNodeAccessCheck($$@)
# #
# Must map to an existing user to be trusted, obviously. # Must map to an existing user to be trusted, obviously.
# #
my $target_user = User->Lookup($uid); my $target_user = User->LookupByUnixId($uid);
return 0 return 0
if (! defined($target_user)); if (! defined($target_user));
return 1 return 1
......
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