[Rt-commit] rt branch 5.0/add-group-membership-afterupdate-callback created. rt-5.0.4-234-g9fe3cd941e
BPS Git Server
git at git.bestpractical.com
Thu Oct 5 20:55:34 UTC 2023
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/add-group-membership-afterupdate-callback has been created
at 9fe3cd941e094346f7e553c3d9163a1fc900fcd9 (commit)
- Log -----------------------------------------------------------------
commit 9fe3cd941e094346f7e553c3d9163a1fc900fcd9
Author: Jason Crome <jcrome at bestpractical.com>
Date: Thu Oct 5 16:53:48 2023 -0400
Add AfterUpdate callback to group member admin
This new callback gives developers a place to take additional actions
after group membership has been updated.
diff --git a/share/html/Admin/Groups/Members.html b/share/html/Admin/Groups/Members.html
index a5b75b93f1..396e24b059 100644
--- a/share/html/Admin/Groups/Members.html
+++ b/share/html/Admin/Groups/Members.html
@@ -209,6 +209,8 @@ foreach my $member (grep $_, @AddMembersGroups) {
push (@results, $msg);
}
+$m->callback( CallbackName => 'AfterUpdate', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Group => $Group );
+
$Rows ||= 50;
$Page ||= 1;
my $TotalFound = $Group->UserMembersObj( Recursively => 0 )->Count;
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list