The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

CatalystX::Usul::Controller::Admin::UserManager - User account management

Version

Describes v0.16.$Rev: 1 $

Synopsis

   package YourApp::Controller::Admin;

   use CatalystX::Usul::Moose;

   BEGIN { extends q(CatalystX::Usul::Controller::Admin) }

   __PACKAGE__->build_subcontrollers;

Description

Create and maintain user accounts across multiple user data stores

Subroutines/Methods

user_base

All the user actions are chained on this one. It determines the current authentication realm and which storage model that uses. Stashes the model references for later use

mail_aliases

Calls the mail alias model to stash the data used to create the mail aliases form

mail_aliases_create_or_update

Action that calls the model to create a new mail alias or update an existing one. Called in response to pressing the insert or save button on the "mail_aliases" form

mail_aliases_delete

Calls the model to delete an existing mail alias. Called in response to pressing the delete button on the "mail_aliases" form

user_admin

Chained on "user_base" with a null path part this action redirects to "user_manager"

user_manager

Calls the user model to stash the data used to create the user account management form

user_manager_create_or_update

This action calls the user model to create a new user account or update an existing one. Called in response to pressing the create or save button on the "user_manager" form

user_manager_delete

Calls the user model to delete the selected user account. Called in response to pressing the delete button on the "user_manager" form

user_manager_fill

Called in response to pressing the fill button on the "user_manager" form this action calls the user model to automatically fill in some of the fields on the form

user_profiles

Calls the profiles model to stash the data used to create the user profiles form. User profiles provide a number of static parameters used in the creation of a user account

user_profiles_create_or_update

This action calls the profiles model to create a new profile or update an existing one. It is called in response to pressing the create or save buttons on the user_profiles form

user_profiles_delete

Calls the delete method on the user profiles model in response to pressing the delete button on the "user_profiles" form

user_report

Calls the user model to stash the data used to create either the available user reports list or to view a specific report. The report id can be passed as the first captured argument after Catalyst context

user_report_execute

Called in response to pressing the execute button on the "user_report" form this action calls the user model to generate a report on the available user accounts

user_report_list

Switches back to the report list after viewing a specific report

user_report_purge

One or more accounts can be selected from viewing a specific user account report. This action is called in response to pressing the purge button on that report and will call the user model to delete all the selected accounts

user_security

Calls the security form on the user model to stash the form data. This form allows administrators to add/remove users to/from roles and to change a users password

user_security_set

Updates the selected users password

user_security_update

Updates the selected users list of roles (groups)

user_sessions

Display two tables. The list of current sessions stored in the session store and the list of current TTY sessions

user_sessions_delete

Delete the selected user sessions

Diagnostics

None

Configuration and Environment

None

Dependencies

CatalystX::Usul::Controller
CatalystX::Usul::TraitFor::Controller::ModelHelper
CatalystX::Usul::TraitFor::Controller::PersistentState

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2014 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE