Create task task-81.3

This commit is contained in:
Dylan Knutson
2025-07-31 03:51:41 +00:00
parent da3087793e
commit 5e0e0ce8ac

View File

@@ -0,0 +1,24 @@
---
id: task-81.3
title: Create TelegramBotLogsController with admin authorization
status: To Do
assignee: []
created_date: '2025-07-31'
labels: []
dependencies: []
parent_task_id: task-81
---
## Description
Build the controller to provide admin-only access to Telegram bot audit logs with proper authorization and filtering capabilities
## Acceptance Criteria
- [ ] TelegramBotLogsController created following existing admin patterns
- [ ] Admin-only authorization implemented (similar to GlobalStatesController)
- [ ] Index action supports filtering by user ID and date ranges
- [ ] Index action includes pagination for large datasets
- [ ] Show action displays individual log details
- [ ] Proper error handling for unauthorized access
- [ ] Controller follows Rails and project conventions