MojoMojo::Controller::Admin - Site Administration
Action to handle management of MojoMojo. Click the admin link at the bottom of the page while logged in as admin to access these functions.
Access control. Only administrators should access functions in this controller.
Show settings screen.
User listing with pager, for enabling/disabling users.
Role listing, creation and assignment.
Role creation page.
Role edit page.
Handle role form processing. Returns true when a submitted form was actually processed.
Update user based on user listing.
Make a formatted version of content body and store it in content.precompiled. This makes MojoMojo go zing, when loading content for page requests.
Depending on the number of pages, and versions of them, this could take some minutes. For 2000 page versions on a 2.4 GHz desktop this script took about 3 minutes to run.
Delete a page and its descendants. This is in MojoMojo::Controller::Admin because we are restricting page deletion to admins only for the time being.
TODO: this method should reside in the Model, not in a Controller (issue #87).
Marcus Ramberg <firstname.lastname@example.org>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.