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=3eeacc32103ed62c6026da204572b2a87a0aafe2;hb=3a44dd3c6dcf02fc7b24ffc65ccebd74b0d3c9ee;hpb=4768184b3b277399116fbd53cae3697a9767fee5 diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 3eeacc3..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: