1 |
unnilennium |
1.1 |
diff -urN smeserver-git-1.1.0.org/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list smeserver-git-1.1.0/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list |
2 |
|
|
--- smeserver-git-1.1.0.org/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list 2012-12-02 21:14:33.000000000 +1030 |
3 |
|
|
+++ smeserver-git-1.1.0/root/etc/e-smith/events/actions/git-delete-user-or-group-from-access-list 2016-02-17 12:10:11.616793496 +1030 |
4 |
|
|
@@ -29,6 +29,7 @@ |
5 |
|
|
use strict; |
6 |
|
|
use Errno; |
7 |
|
|
use esmith::util; |
8 |
|
|
+use esmith::event; |
9 |
|
|
|
10 |
|
|
#------------------------------------------------------------ |
11 |
|
|
# Delete the user or group from access list on git repositories |
12 |
|
|
@@ -47,6 +48,9 @@ |
13 |
|
|
} elsif ($event eq 'group-delete') { |
14 |
|
|
# Setup to scan for groups |
15 |
|
|
@entries = qw(GroupsWrite GroupsRead); |
16 |
|
|
+} elsif ($event eq 'group-modify') { |
17 |
|
|
+ # Setup to scan for groups |
18 |
|
|
+ @entries = qw(GroupsWrite GroupsRead); |
19 |
|
|
} else { |
20 |
|
|
die "Invalid event: \"$event\" for \"$item\" ."; |
21 |
|
|
} |