[Jifty-commit] r1921 -
jifty/trunk/plugins/Login/lib/Jifty/Plugin/Login/Model
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Sep 2 22:44:26 EDT 2006
Author: nelhage
Date: Sat Sep 2 22:44:26 2006
New Revision: 1921
Modified:
jifty/trunk/plugins/Login/lib/Jifty/Plugin/Login/Model/User.pm
Log:
Making the Login plugin play nice with admin mode.
Modified: jifty/trunk/plugins/Login/lib/Jifty/Plugin/Login/Model/User.pm
==============================================================================
--- jifty/trunk/plugins/Login/lib/Jifty/Plugin/Login/Model/User.pm (original)
+++ jifty/trunk/plugins/Login/lib/Jifty/Plugin/Login/Model/User.pm Sat Sep 2 22:44:26 2006
@@ -83,7 +83,8 @@
my $self = shift;
my $right = shift;
my %args = (@_);
- Carp::confess if ( $right eq 'read' and not $args{'column'} );
+ # This line breaks admin mode. I like admin mode.
+ # Carp::confess if ( $right eq 'read' and not $args{'column'} );
if ( $right eq 'read'
and $self->id == $self->current_user->id )
{
More information about the Jifty-commit
mailing list