line |
true |
false |
branch |
142
|
0 |
0 |
if ref $self->dbh eq 'CODE' |
144
|
0 |
0 |
unless $self->dbh |
152
|
0 |
0 |
if $self->app->renderer->helpers->{'authenticate'} |
162
|
0 |
0 |
if ($self->conf->{'oauth'}) |
167
|
0 |
0 |
if ($self->conf->{'admin'} and ref($self->conf->{'admin'} eq 'HASH') and keys %{$self->conf->{'admin'};}) |
173
|
0 |
0 |
if $self->conf->{'guest'} |
176
|
0 |
0 |
if $self->conf->{'log'} |
198
|
0 |
0 |
if (ref $args eq 'CODE') |
199
|
0 |
0 |
unless &$args($u, @_) |
213
|
0 |
0 |
unless $args->{'auth'} or $args->{'role'} or $args->{'guest'} |
216
|
0 |
0 |
if ($args->{'guest'}) |
217
|
0 |
0 |
if $self->guest->is_guest($c) |
228
|
0 |
0 |
unless $u and $u->{'id'} |
235
|
0 |
0 |
if $args->{'auth'} and $args->{'auth'} =~ /\bonly\b/iu |
241
|
0 |
0 |
if scalar @$id1 and $access->access_explicit($id1, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] joined id1=%s; args=[%s]; defaults=%s', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $c->dumper($id1) =~ s/\s+//gru, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) |
259
|
0 |
0 |
if $args->{'role'} and $access->access_role($args->{'role'}, $id2) and $app->log->debug(sprintf('Access allow [%s] by role [%s]', $route->pattern->unparsed, $args->{'role'})) |
264
|
0 |
0 |
if ($controller and not $namespace) |
271
|
0 |
0 |
unless $controller and $namespace |
276
|
0 |
0 |
if $access->access_namespace($namespace, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by namespace=[%s]; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $namespace, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) |
286
|
0 |
0 |
if $access->access_controller($namespace, $controller, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by namespace=[%s] and controller=[%s]; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $namespace, $controller, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) |
298
|
0 |
0 |
unless $args->{'namespace'} or $route->pattern->defaults->{'namespace'} |
309
|
0 |
0 |
unless my $action = $args->{'action'} || $route->pattern->defaults->{'action'} |
313
|
0 |
0 |
if $access->access_action($namespace, $controller, $action, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by namespace=[%s] and controller=[%s] and action=[%s]; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $namespace, $controller, $action, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) |
325
|
0 |
0 |
unless $args->{'namespace'} |
346
|
0 |
0 |
$u ? : |
355
|
0 |
0 |
unless my $class = load_class('namespace', $ns, 'module', $name) |