method not_authorized {
self.response( 'action_not_authorized.tmpl',
{ DISALLOWED_ACTION => 'edit pages' }
);
}
Skins do not use it. We always have LOGGED_IN to managed edit link and
other logged in related stuff.
Ilya
The original reason -- still true in p5w, I believe -- was that the
not-allowed page showed a message like "You are not authorized to edit
pages. Please log in." The 'edit pages' part could then be generalized
to other, future actions. It's a YAGNI, and you're welcome to remove
it if you like.
// Carl