Create task task-81.3
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user