chg: [command:summary] Consider perm meta-fields addition/deletion as uesr edit

refacto/CRUDComponent
Sami Mokaddem 2023-09-04 14:43:53 +02:00
parent 9be8105565
commit 26cbaf0129
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ class SummaryCommand extends Command
{ {
return array_map(function($log) use ($userByIDs) { return array_map(function($log) use ($userByIDs) {
$log['model'] = 'Users'; $log['model'] = 'Users';
$log['request_action'] = 'edit';
$log['changed'] = [ $log['changed'] = [
$log['model_title'] => [ $log['model_title'] => [
$log['changed']['orig_value'] ?? '', $log['changed']['orig_value'] ?? '',