[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-147-gdd264d68d3
? sunnavy
sunnavy at bestpractical.com
Thu Nov 12 13:14:47 EST 2020
The branch, 4.4-trunk has been updated
via dd264d68d38e1df31908a890fd9038b01ccf30f6 (commit)
via ba03f06a26b5a44945aa175ddb78f22e23078b44 (commit)
from 1ab8481c909c9fb2645b8a39342374da25a07e2a (commit)
Summary of changes:
share/html/Admin/Groups/Members.html | 9 +++++++++
1 file changed, 9 insertions(+)
- Log -----------------------------------------------------------------
commit ba03f06a26b5a44945aa175ddb78f22e23078b44
Author: Steven Burr <steve at bestpractical.com>
Date: Tue Nov 10 13:56:56 2020 -0500
Add BeforeProcessArguments callback to group members
People could use this to modify inputs before processing.
diff --git a/share/html/Admin/Groups/Members.html b/share/html/Admin/Groups/Members.html
index ec6849568d..0696c64c0f 100644
--- a/share/html/Admin/Groups/Members.html
+++ b/share/html/Admin/Groups/Members.html
@@ -121,6 +121,15 @@ $GroupsSeen{ $Group->id } = 1; # can't be a member of ourself
my (@results);
+$m->callback(
+ CallbackName => 'BeforeProcessArguments',
+ ARGSRef => \%ARGS,
+ GroupObj => $Group,
+ Actions => \@results,
+ AddMembersUsersRef => \@AddMembersUsers,
+ AddMembersGroupsRef => \@AddMembersGroups,
+);
+
# XXX: safe member id in value instead of name
foreach my $key (keys %ARGS) {
next unless $key =~ /^DeleteMember-(\d+)$/;
commit dd264d68d38e1df31908a890fd9038b01ccf30f6
Merge: 1ab8481c90 ba03f06a26
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Nov 13 02:08:11 2020 +0800
Merge branch '4.4/group-members-before-process-arguments-callback' into 4.4-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list