/[SQLSession]/trunk/lib/SQLSession/CurrentUser.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/SQLSession/CurrentUser.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 58 by dpavlin, Thu Jan 25 13:08:06 2007 UTC revision 60 by dpavlin, Thu Jan 25 18:19:02 2007 UTC
# Line 38  sub _init { Line 38  sub _init {
38                          $self->is_superuser(1);                          $self->is_superuser(1);
39                  }                  }
40          }          }
41    
42            # honor AdminMode from config.yml
43            $self->is_superuser(1) if Jifty->config->framework('AdminMode');
44  }  }
45    
46  =head2 role  =head2 role
# Line 68  sub role { Line 71  sub role {
71          return $r->id;          return $r->id;
72  }  }
73    
74    1;

Legend:
Removed from v.58  
changed lines
  Added in v.60

  ViewVC Help
Powered by ViewVC 1.1.26