Add functionality to download role permission audit history as a CSV file

Introduce a new admin-only API endpoint for exporting role permission audit data to CSV, including resolved permission names and UTF-8 BOM for Excel compatibility. Frontend button and backend logic implemented to support this feature.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 0cb48020-8f0c-42bb-8fe8-d638905f7fce
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/g7BgHDL
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
riyadhafraa
2026-05-01 16:11:43 +00:00
parent de7973f35b
commit 49bf44f0a2
9 changed files with 701 additions and 16 deletions
+2
View File
@@ -516,6 +516,8 @@
"historyTotal_other": "{{count}} صلاحية بعد التغيير",
"historyShowing": "يظهر {{shown}} من أصل {{total}}",
"historyLoadMore": "عرض المزيد",
"historyDownloadCsv": "تنزيل CSV",
"historyDownloadCsvError": "تعذّر تنزيل ملف CSV. حاول مرة أخرى.",
"historyFilters": {
"actor": "غُيّرت بواسطة",
"allActors": "أي شخص",