X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F06_Authorization.pod;h=cb4495c199be16a43d1ded9e598293c9f65de6f5;hb=436f45daabf1972798918c6a706ac2894972a395;hp=3eeacc32103ed62c6026da204572b2a87a0aafe2;hpb=4768184b3b277399116fbd53cae3697a9767fee5;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 3eeacc3..cb4495c 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -90,7 +90,7 @@ Edit C and add C to the list: Authorization::Roles Session - Session::Store::FastMmap + Session::Store::File Session::State::Cookie /; @@ -269,6 +269,11 @@ the "C" line: return any(map { $_->role } $self->roles) eq $role; } +Let's also add Perl6::Junction to the requirements listed in +Makefile.PL: + + requires 'Perl6::Junction'; + Now we need to add some enforcement inside our controller. Open C and update the C method to match the following code: @@ -343,6 +348,6 @@ Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at L. -Copyright 2006-2010, Kennedy Clark, under Creative Commons License +Copyright 2006-2010, Kennedy Clark, under the +Creative Commons Attribution Share-Alike License Version 3.0 (L). -