- rfe: Workflow activity for assigning users to a group
- The prevent proxy cache setting also now sets anti-caching meta tags and HTTP headers.
This commit is contained in:
parent
7122e069e6
commit
35db285a67
6 changed files with 181 additions and 8 deletions
|
|
@ -14,6 +14,9 @@
|
|||
- fix: Email address with just one character in the user part not accepted
|
||||
- fix: Image (file) added to page shows before committing changes
|
||||
- fix: Typo in fileImport.pl at line 265 (zxp)
|
||||
- rfe: Workflow activity for assigning users to a group
|
||||
- The prevent proxy cache setting also now sets anti-caching meta tags and
|
||||
HTTP headers.
|
||||
- fix: getMedia asset constructor returning wrong object type
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,17 +20,18 @@ my $quiet; # this line required
|
|||
|
||||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
addNewWorkflowActivity();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
##-------------------------------------------------
|
||||
#sub exampleFunction {
|
||||
# my $session = shift;
|
||||
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
|
||||
# # and here's our code
|
||||
#}
|
||||
#-------------------------------------------------
|
||||
sub addNewWorkflowActivity {
|
||||
print "\tAdding 'add user to group' workflow activity.\n" unless ($quiet);
|
||||
my $activities = $session->config->get("workflowActivities");
|
||||
push(@{$activities->{"WebGUI::User"}}, "WebGUI::Workflow::Activity::AddUserToGroup");
|
||||
$session->config->set("workflowActivities", $activities);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue