added: Activate, Deactivate, Delete User workflow activities

This commit is contained in:
Graham Knop 2009-05-21 14:49:28 +00:00
parent d011dde621
commit 8b86d56ec0
7 changed files with 261 additions and 1 deletions

View file

@ -20,6 +20,7 @@
- added: Storage now has a getHexId method for returning a cached hexadecimal version of the storageId.
- fixed: FilePump should copy filesystem directories and their files when given a file URI that is a directory.
- fixed #10133: Matrix compare for priv. group open to any user
- added: Activate, Deactivate, Delete User workflow activities
7.7.6
- Added mobile style template. If enabled in settings, will serve alternate style templates

View file

@ -43,6 +43,7 @@ installFilePumpHandler($session);
installFilePumpTable($session);
installFilePumpAdminGroup($session);
addMatrixMaxGroup($session);
addUserControlWorkflows($session);
finish($session); # this line required
@ -55,6 +56,16 @@ sub addMatrixMaxGroup {
print "Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub addUserControlWorkflows {
my $session = shift;
print "\tAdding Activate, Deactivate, Delete User workflow activities..." unless $quiet;
$session->config->addToArray('workflowActivities/WebGUI::User', 'WebGUI::Workflow::Activity::ActivateUser');
$session->config->addToArray('workflowActivities/WebGUI::User', 'WebGUI::Workflow::Activity::DeactivateUser');
$session->config->addToArray('workflowActivities/WebGUI::User', 'WebGUI::Workflow::Activity::DeleteUser');
print " Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub fixSMSUserProfileI18N {
my $session = shift;