mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-06 11:59:57 +02:00
#283 added request history
This commit is contained in:
parent
59de25f7d3
commit
06d28d37a4
2 changed files with 8 additions and 1 deletions
|
@ -7,6 +7,7 @@ June 2024 8.8
|
||||||
- LAM Pro:
|
- LAM Pro:
|
||||||
-> Request access: request data can be imported and exported as part of configuration
|
-> 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 $$approveLink$$ and $$rejectLink$$ in approval mails
|
||||||
|
-> Request access: added history (283)
|
||||||
|
|
||||||
|
|
||||||
16.03.2024 8.7
|
16.03.2024 8.7
|
||||||
|
|
|
@ -18,7 +18,7 @@ use function LAM\PDF\getPDFStructures;
|
||||||
/*
|
/*
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -400,6 +400,9 @@ class ConfigDataImporter {
|
||||||
if (isset($value['openRequests'])) {
|
if (isset($value['openRequests'])) {
|
||||||
$mainStep->addSubStep(new ImporterStep(_('Open requests'), 'requestAccess_openRequests', $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;
|
$steps[] = $mainStep;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -767,6 +770,9 @@ class ConfigDataImporter {
|
||||||
case 'openRequests':
|
case 'openRequests':
|
||||||
$database->importOpenRequests($data);
|
$database->importOpenRequests($data);
|
||||||
break;
|
break;
|
||||||
|
case 'historicRequests':
|
||||||
|
$database->importRequestHistory($data);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue