/[smecontribs]/rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-AddHooksToUSerAndGroupDeleteEvents.patch
ViewVC logotype

Diff of /rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-AddHooksToUSerAndGroupDeleteEvents.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by snetram, Mon Feb 25 22:51:53 2008 UTC Revision 1.2 by snetram, Sat Mar 1 21:01:45 2008 UTC
# Line 1  Line 1 
1  --- smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list.AddHooksToUSerAndGroupDeleteEvents      2008-02-25 22:28:36.000000000 +0100  --- smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list.AddHooksToUSerAndGroupDeleteEvents      2008-02-25 22:28:36.000000000 +0100
2  +++ smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list 2008-02-25 22:27:32.000000000 +0100  +++ smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list 2008-02-25 22:27:32.000000000 +0100
3  @@ -0,0 +1,56 @@  @@ -0,0 +1,58 @@
4  +#!/usr/bin/perl -w  +#!/usr/bin/perl -w
5  +  +
6  +package esmith;  +package esmith;
# Line 16  Line 16 
16  +# Delete the user from subversion repositories  +# Delete the user from subversion repositories
17  +#------------------------------------------------------------  +#------------------------------------------------------------
18  +  +
19  +die "Username argument missing." unless defined ($userName);  +die "Username argument missing." unless defined ($item);
20    +
21    +my @entries = qw();
22  +  +
23  +if ($event eq 'user-delete') {  +if ($event eq 'user-delete') {
24  +  +
25  +    my @entries = qw(UsersWrite UsersRead);  +    @entries = qw(UsersWrite UsersRead);
26  +  +
27  +} elsif ($event eq 'group-delete') {  +} elsif ($event eq 'group-delete') {
28  +  +
29  +    my @entries = qw(GroupsWrite GroupsRead);  +    @entries = qw(GroupsWrite GroupsRead);
30  +  +
31  +} else {  +} else {
32  +  +


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed