Hi, thanks for your response.
I followed the example in the CPAN catalyst tutorial on authentication, assuming it to be good initial practice.
I will try out your suggestions and report back. | [reply] |
if ($c->action->attributes->{NoAuth})
to decide whether to bypass auth. | [reply] [d/l] [select] |
I will summarize my experiences in a single reply here
Running catalyst without the -r worked well enough for my development purposes.
I tried the various suggestions put forth:
- $self->action_namespace
- $c->req->path
- $c->action->attributes->{NoAuth}
They all worked but I found setting
:NoAuth attribute most suitable to my needs as it
gave me the precision of labelling those few actions permitted without being logged in, without the need to specify the complete path to them (which might change as I build my site).
Thanks, everyone for your help. Much appreciated
| [reply] |