Subject: | Catalyst::Manual::Tutorial::Authorization |
Near the end of the tutorial chapter on Authorization are the following
sentences:
'Once at the book list, click the "Create" link to try the form_create
action. You should receive a red "Unauthorized!" error message at the
top of the list. (Note that in reality you would probably want to place
the "Create" link code in root/src/books/list.tt2 inside an IF statement
that only displays the list to admin-level users.)'
However, in the tutorial, list.tt2 DOES include an IF statement
preventing non-admins from seeing the Create link. To make this part of
the tutorial work correctly as written, you should have the user modify
list.tt2.
Of course, by this point in the tutorial, the user should be able to see
the problem on their own.