[Rt-commit] r14318 - in rt/branches/3.999-DANGEROUS: lib/RT
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sat Jul 19 11:48:13 EDT 2008
Author: sunnavy
Date: Sat Jul 19 11:48:12 2008
New Revision: 14318
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Bootstrap.pm
Log:
r14763 at sunnavys-mb: sunnavy | 2008-07-19 23:46:42 +0800
RT->system_user returns RT::CurrentUser object, not RT::Model::User
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Bootstrap.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Bootstrap.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Bootstrap.pm Sat Jul 19 11:48:12 2008
@@ -111,7 +111,7 @@
else {
my $ace = RT::Model::ACE->new( current_user => RT->system_user );
my ( $val, $msg ) = $ace->_bootstrap_create(
- principal_id => acl_equiv_group_id( RT->system_user ),
+ principal_id => acl_equiv_group_id( RT->system_user->id ),
principal_type => 'Group',
right_name => 'SuperUser',
object_type => 'RT::System',
More information about the Rt-commit
mailing list