X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F06_Authorization.pod;h=6515d4853f1782a947ba60fad29fa5e0e86779f4;hp=78cb1163ea11963692fde6558b58655348f46b85;hb=3a44dd3c6dcf02fc7b24ffc65ccebd74b0d3c9ee;hpb=aa7ff3257b8cc635010cfa8caee47a45efcab1f6 diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 78cb116..6515d48 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -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-2008, Kennedy Clark, under Creative Commons License +Copyright 2006-2010, Kennedy Clark, under Creative Commons License (L).