/[smecontribs]/rpms/smeserver-git/contribs8/smeserver-git-1.0.0-fix_missing_group_modify_event_check.patch
ViewVC logotype

Annotation of /rpms/smeserver-git/contribs8/smeserver-git-1.0.0-fix_missing_group_modify_event_check.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Jun 10 07:08:15 2016 UTC (8 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-git-1_0_0-49_el5_sme, smeserver-git-1_0_0-53_el5_sme, smeserver-git-1_0_0-50_el5_sme, smeserver-git-1_0_0-51_el5_sme, smeserver-git-1_0_0-44_el5_sme, smeserver-git-1_0_0-45_el5_sme, smeserver-git-1_0_0-46_el5_sme, smeserver-git-1_0_0-47_el5_sme, smeserver-git-1_0_0-54_el5_sme, smeserver-git-1_0_0-48_el5_sme, smeserver-git-1_0_0-43_el5_sme, smeserver-git-1_0_0-52_el5_sme, HEAD
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-43.sme
- fix group-modify invalid event [SME: 9251]
- patch by Marco Hess

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     }

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