Revision 74e45f0f
Von Martin Helmling martin.helmling@octosoft.eu vor fast 8 Jahren hinzugefügt
templates/webpages/csv_import/_deferred_report.html | ||
---|---|---|
20 | 20 |
|
21 | 21 |
$(document).ready(function(){ |
22 | 22 |
[%- IF SELF.background_job.data_as_hash.report_id %] |
23 |
get_report('#csv_import_report', 'controller.pl', { action: 'CsvImport/report', 'no_layout': 1, 'id': [% SELF.background_job.data_as_hash.report_id %], 'csv_import_access' : '[% SELF.csv_import_access %]' });
|
|
23 |
get_report('#csv_import_report', 'controller.pl', { action: 'CsvImport/report', 'no_layout': 1, 'id': [% SELF.background_job.data_as_hash.report_id %] }); |
|
24 | 24 |
[%- END %] |
25 | 25 |
}); |
26 | 26 |
|
Auch abrufbar als: Unified diff
Spezifisches Recht für CSV-Import(2)
Neue Implementierung: Die access-Prüfung findet nun im "Worker" statt,
so kann für die Banktransaktionen in "CsvImport/BankTransaction"
neben "config" auch das Recht "bank_transaction" zugelassen werden.
Davon getrennt ist nun das Verhalten, das bei einem vorgegebenen Profil
dieses nich tzum Editieren angeboten wird, sondern gleich in den Import->Test gegangen wird.
Dazu ist im entsprechenden Profil der Parameter "dont_edit_profile" auf "1" zu setzen.