#283 added request history

This commit is contained in:
Roland Gruber 2024-05-03 19:44:42 +02:00
parent 59de25f7d3
commit 06d28d37a4
2 changed files with 8 additions and 1 deletions

View file

@ -7,6 +7,7 @@ June 2024 8.8
- LAM Pro:
-> Request access: request data can be imported and exported as part of configuration
-> Request access: added $$approveLink$$ and $$rejectLink$$ in approval mails
-> Request access: added history (283)
16.03.2024 8.7

View file

@ -18,7 +18,7 @@ use function LAM\PDF\getPDFStructures;
/*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2020 - 2022 Roland Gruber
Copyright (C) 2020 - 2024 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -400,6 +400,9 @@ class ConfigDataImporter {
if (isset($value['openRequests'])) {
$mainStep->addSubStep(new ImporterStep(_('Open requests'), 'requestAccess_openRequests', $value['openRequests']));
}
if (isset($value['historicRequests'])) {
$mainStep->addSubStep(new ImporterStep(_('Request history'), 'requestAccess_historicRequests', $value['historicRequests']));
}
$steps[] = $mainStep;
}
break;
@ -767,6 +770,9 @@ class ConfigDataImporter {
case 'openRequests':
$database->importOpenRequests($data);
break;
case 'historicRequests':
$database->importRequestHistory($data);
break;
}
}
}