[Rt-commit] r19001 - rt/3.999/trunk/lib/RT/Model
ruz at bestpractical.com
ruz at bestpractical.com
Tue Mar 31 14:26:59 EDT 2009
Author: ruz
Date: Tue Mar 31 14:26:59 2009
New Revision: 19001
Modified:
rt/3.999/trunk/lib/RT/Model/Principal.pm
Log:
* each principal may have only one type of ACE
Modified: rt/3.999/trunk/lib/RT/Model/Principal.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/Principal.pm (original)
+++ rt/3.999/trunk/lib/RT/Model/Principal.pm Tue Mar 31 14:26:59 2009
@@ -188,14 +188,10 @@
$args{'object'} = RT->system;
}
- #ACL check handled in ACE.pm
- my $type = $self->_get_principal_type_for_acl();
-
my $ace = RT::Model::ACE->new( current_user => $self->current_user );
$ace->load_by_cols(
right_name => $args{'right'},
object => $args{'object'},
- type => $type,
principal => $self,
);
More information about the Rt-commit
mailing list