[Rt-commit] rt branch, 4.0/processacls-bulletproofing, updated. rt-4.0.0rc6-15-g940ded9
Thomas Sibley
trs at bestpractical.com
Fri Mar 4 12:40:33 EST 2011
The branch, 4.0/processacls-bulletproofing has been updated
via 940ded9bacd256c7c21e2804e4b2c4774bf61575 (commit)
from 53191ff446a08ecfede37c50578ddb0d2eff1c3a (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 940ded9bacd256c7c21e2804e4b2c4774bf61575
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Mar 4 12:40:30 2011 -0500
More explicitly load by user names
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 4f56a94..adf0dec 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1697,7 +1697,7 @@ sub ProcessACLs {
my $principal;
if ( $type eq 'user' ) {
$principal = RT::User->new( $session{'CurrentUser'} );
- $principal->Load( $ARGSref->{$key} );
+ $principal->LoadByCol( Name => $ARGSref->{$key} );
}
else {
$principal = RT::Group->new( $session{'CurrentUser'} );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list