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

Contents of /rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-FixAccountRemoval.patch

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


Revision 1.1 - (show annotations) (download)
Sun Aug 10 15:59:53 2008 UTC (16 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_4-30_el4_sme, smeserver-subversion-1_4-29_el4_sme, smeserver-subversion-1_4-34_el4_sme, smeserver-subversion-1_4-31_el4_sme, smeserver-subversion-1_4-35_el4_sme, smeserver-subversion-1_4-33_el4_sme, smeserver-subversion-1_4-28_el4_sme, smeserver-subversion-1_4-27_el4_sme, smeserver-subversion-1_4-32_el4_sme, smeserver-subversion-1_4-26_el4_sme
* Sun Aug 10 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4-26
- Reinstate description validation routine [SME: 3698]
- Remove user/group from repository privileges list(s) when user/group is
  removed from the system [SME: 4013]
- Clarify panel fields for user(s)/group(s) read/write access with regards
  to anonymous access on empty lists [SME: 4327]
- Fix maxLength not appearing in the create/modify page of the panel [SME: 4495]
- Fixed bug reference in previous changelog entry

1 --- smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list.FixAccountRemoval 2008-08-10 15:45:57.000000000 +0200
2 +++ smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list 2008-08-10 15:47:40.000000000 +0200
3 @@ -33,7 +33,7 @@
4
5 use esmith::AccountsDB;
6
7 -my $db_accounts = esmith::AccountsDB->open_ro() or
8 +my $db_accounts = esmith::AccountsDB->open() or
9 die "Couldn't open AccountsDB\n";
10
11 my @repositories = $db_accounts->get_all_by_prop('type' => 'repository');
12 @@ -42,7 +42,7 @@
13 (@repositories),
14 )
15 {
16 - my $repository_rec = $db_accounts->get($repository) || next REPOSITORY;
17 + my $repository_rec = $db_accounts->get($repository->key()) || next REPOSITORY;
18
19 foreach my $entry (@entries) {
20

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