X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FAuthorization.pod;h=818a8f2ae022d86fd294131e2fa388ccf099257e;hb=d0e8c36c110ce82b468b0c85bd5a63efb5cb0960;hp=b59facf69416ee45665c48f25125ff12d8be3494;hpb=e075db0c03ded5b1d100852f9ba9c040e2499109;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/Authorization.pod b/lib/Catalyst/Manual/Tutorial/Authorization.pod index b59facf..818a8f2 100644 --- a/lib/Catalyst/Manual/Tutorial/Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/Authorization.pod @@ -89,7 +89,7 @@ Edit C and add C to the list: Session Session::Store::FastMmap Session::State::Cookie - /; + /); B As discussed in MoreCatalystBasics, different versions of C have used a variety of methods to load the plugins. @@ -168,7 +168,7 @@ lines to the bottom of the file: [% # Can also use $c->user->check_roles() to check authz -%] [% IF c.check_user_roles('admin') %] [% # Give admin users a link for 'create' %] - Admin Create + Admin Create [% END %]

@@ -261,10 +261,10 @@ running) and restart it: Now trying going to L and you should be taken to the login page (you might have to C or -C your browser and/or click the "Logout" link on the book +C your browser and/or click the "User Logout" link on the book list page). Try logging in with both C and C (both use a password of C) and notice how the roles information -updates at the bottom of the "Book List" page. Also try the C +updates at the bottom of the "Book List" page. Also try the "User Logout" link on the book list page. Now the "url_create" URL will work if you are already logged in as user @@ -273,7 +273,7 @@ C. Try: http://localhost:3000/books/url_create/test/1/6 -while logged in as each user. Use one of the 'Logout' links (or go to +while logged in as each user. Use one of the "logout" links (or go to L in your browser directly) when you are done.