LEMONLDAP::NG : Status has been broken by new storage.conf capability

This commit is contained in:
Xavier Guimard 2008-12-24 09:55:09 +00:00
parent 2449e92c2d
commit b96cad7a18
2 changed files with 14 additions and 8 deletions

View File

@ -1,13 +1,19 @@
lemonldap-ng (0.9.3) unstable; urgency=low
[ Clement Oudot ]
* New menu and skin (pastel)
* New menu and skin (pastel). Menu calculates rights before displaying URL
[ Xavier Guimard ]
* Authentication and UserDB separation
* New session explorer system
* Backport of debian storage.conf file to normal installation
* Errors are now displayed in the browser for portal and manager
* Custom functions for rules, macros, headers and groups
* Manager protection
* New configuration access with local cache system
* AuthBasic handler
-- Xavier Guimard <x.guimard@free.fr> Tue, 11 Nov 2008 16:23:19 +0100
-- Xavier Guimard <x.guimard@free.fr> Wed, 24 Dec 2008 10:13:58 +0100
lemonldap-ng (0.9.2.2) unstable; urgency=low

View File

@ -43,12 +43,6 @@ BEGIN {
sub init($$) {
my ( $class, $args ) = @_;
$reloadTime = $args->{reloadTime} || 600;
# localStorage can be declared in configStorage or at the root or both
foreach (qw(localStorage localStorageOptions)) {
$args->{$_} ||= $args->{configStorage}->{$_};
$args->{configStorage}->{$_} ||= $args->{$_};
}
$localConfig = $args;
$class->localInit($args);
}
@ -66,6 +60,12 @@ sub localInit {
my ( $class, $args ) = @_;
die("$class : unable to build configuration : $Lemonldap::NG::Common::Conf::msg")
unless($lmConf = Lemonldap::NG::Common::Conf->new( $args->{configStorage} ));
# localStorage can be declared in configStorage or at the root or both
foreach (qw(localStorage localStorageOptions)) {
$args->{$_} ||= $args->{configStorage}->{$_} || $lmConf->{$_};
$args->{configStorage}->{$_} ||= $args->{$_};
}
$class->defaultValuesInit($args);
$class->SUPER::localInit($args);
}