line |
l |
!l |
condition |
198
|
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_auth_cb and return undef |
212
|
0 |
0 |
$app->log->debug(sprintf('Access allow [%s] for none {auth} and none {role} and none {guest}', $route->pattern->unparsed)) and return 1 |
216
|
0 |
0 |
$app->log->debug(sprintf('Access allow [%s] for {guest}', $route->pattern->unparsed)) and return 1 |
227
|
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_auth_cb and return undef |
234
|
0 |
0 |
$app->log->debug(sprintf(q[Access allow [%s] for {auth}=~'only'], $route->pattern->unparsed)) and return 1 |
264
|
0 |
0 |
load_class('namespace', $_, 'controller', $controller) and $namespace = $_ and last |
270
|
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_access_cb and return undef |
297
|
0 |
0 |
$access->access_controller(undef, $controller, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by controller=[%s] without namespace on db; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $controller, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) and return 1 |
308
|
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_access_cb and return undef |
324
|
0 |
0 |
$route->pattern->defaults->{'namespace'} and $access->access_action(undef, $controller, $action, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by (namespace=[any]) controller=[%s] and action=[%s]; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $controller, $action, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) and return 1 |
line |
!l |
l&&!r |
l&&r |
condition |
166
|
0 |
0 |
0 |
$self->conf->{'admin'} and ref $self->conf->{'admin'} eq 'HASH' |
|
0 |
0 |
0 |
$self->conf->{'admin'} and ref $self->conf->{'admin'} eq 'HASH' and keys %{$self->conf->{'admin'};} |
198
|
0 |
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_auth_cb |
227
|
0 |
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_auth_cb |
|
0 |
0 |
0 |
$u and $u->{'id'} |
234
|
0 |
0 |
0 |
$args->{'auth'} and $args->{'auth'} =~ /\bonly\b/iu |
240
|
0 |
0 |
0 |
scalar @$id1 and $access->access_explicit($id1, $id2) |
|
0 |
0 |
0 |
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)) |
258
|
0 |
0 |
0 |
$args->{'role'} and $access->access_role($args->{'role'}, $id2) |
|
0 |
0 |
0 |
$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'})) |
263
|
0 |
0 |
0 |
$controller and not $namespace |
264
|
0 |
0 |
0 |
load_class('namespace', $_, 'controller', $controller) and $namespace = $_ |
270
|
0 |
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_access_cb |
|
0 |
0 |
0 |
$controller and $namespace |
275
|
0 |
0 |
0 |
$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)) |
285
|
0 |
0 |
0 |
$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)) |
297
|
0 |
0 |
0 |
$access->access_controller(undef, $controller, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by controller=[%s] without namespace on db; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $controller, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) |
308
|
0 |
0 |
0 |
$self->deny_log($route, $args, $u, $c) and $c->$fail_access_cb |
312
|
0 |
0 |
0 |
$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)) |
324
|
0 |
0 |
0 |
$route->pattern->defaults->{'namespace'} and $access->access_action(undef, $controller, $action, $id2) |
|
0 |
0 |
0 |
$route->pattern->defaults->{'namespace'} and $access->access_action(undef, $controller, $action, $id2) and $app->log->debug(sprintf('Access allow [%s] for roles=[%s] by (namespace=[any]) controller=[%s] and action=[%s]; args=[%s]; defaults=[%s]', $route->pattern->unparsed, $c->dumper($id2) =~ s/\s+//gru, $controller, $action, $c->dumper($args) =~ s/\s+//gru, $c->dumper($route->pattern->defaults) =~ s/\s+//gru)) |